Function: hs-add-cycle-binding
hs-add-cycle-binding is a byte-compiled function defined in
hideshow.el.gz.
Signature
(hs-add-cycle-binding KEYMAP KEY DEFINITION)
Documentation
Define KEY for hs-cycle-filter.
KEYMAP, KEY and DEFINITION are the same arguments as the ones of
keymap-set.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
(defun hs-add-cycle-binding (keymap key definition)
"Define KEY for `hs-cycle-filter'.
KEYMAP, KEY and DEFINITION are the same arguments as the ones of
`keymap-set'."
(keymap-set (or keymap hs-minor-mode-map) key
`(menu-item
"" ,definition
:filter hs--filter-function)))