;ELC
|
;;; Compiled
|
;;; in Emacs version 26.1
|
;;; with all optimizations.
|
|
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
|
|
;;; This file does not contain utf-8 non-ASCII characters,
|
;;; and so can be loaded in Emacs versions earlier than 23.
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\207" [require cl-lib async advice helm-lib helm-multi-match helm-source] 2)
|
#@741 In KEYMAP, define key sequence KEY for function list FUNCTIONS.
|
Each function runs sequentially for each KEY press.
|
If DELAY is specified, switch back to initial function of FUNCTIONS list
|
after DELAY seconds.
|
The functions in FUNCTIONS list take no args.
|
e.g
|
(defun foo ()
|
(interactive)
|
(message "Run foo"))
|
(defun bar ()
|
(interactive)
|
(message "Run bar"))
|
(defun baz ()
|
(interactive)
|
(message "Run baz"))
|
|
(helm-define-multi-key global-map (kbd "<f5> q") '(foo bar baz) 2)
|
|
Each time "<f5> q" is pressed, the next function is executed. Waiting
|
more than 2 seconds between key presses switches back to executing the first
|
function on the next hit.
|
|
(fn KEYMAP KEY FUNCTIONS &optional DELAY)
|
(defalias 'helm-define-multi-key #[1027 "\300\301\"#\207" [define-key helm-make-multi-command] 10 (#$ . 572)])
|
#@174 Define NAME as a multi-key command running FUNS.
|
After DELAY seconds, the FUNS list is reinitialized.
|
See `helm-define-multi-key'.
|
|
(fn NAME DOCSTRING FUNS &optional DELAY)
|
(defalias 'helm-multi-key-defun '(macro . #[1027 "\203\n \300P\202 \301\262\302\303D\304EF\207" ["\n\n" "This is a helm-ish multi-key command." defalias quote helm-make-multi-command] 9 (#$ . 1434)]))
|
(byte-code "\300\301\302\303#\300\207" [function-put helm-multi-key-defun lisp-indent-function 2] 4)
|
#@172 Return an anonymous multi-key command running FUNCTIONS.
|
Run each function in the FUNCTIONS list in turn when called within DELAY seconds.
|
|
(fn FUNCTIONS &optional DELAY)
|
(defalias 'helm-make-multi-command #[513 "\300\301!\302\303\304E!\210\305\306\307\310\311#\312\"\313\304\211&\207" [cl-gensym "helm-iter-key" eval defvar nil make-byte-code 0 "\303\300\301\302#\207" vconcat vector [helm-run-multi-key-command] 4] 13 (#$ . 1924)])
|
(byte-code "\300\301\302\303#\300\207" [function-put helm-make-multi-command lisp-indent-function 1] 4)
|
#@33
|
|
(fn FUNCTIONS ITERATOR DELAY)
|
(defalias 'helm-run-multi-key-command #[771 "\302\303J\203 =\204 \304!!L\210\305J!\262\211\204/ \304!!L\210\305J!\262\211\203@ J\203@ \306S8!\210\205T \307\303\310\311\312\313\314!\315\"\316$#\207" [this-command real-last-command #[257 "\300G\301X\203 B\262T\262\202 \211\237\207" [1 nil] 6 "\n\n(fn FUNCTIONS)"] nil helm-iter-list helm-iter-next call-interactively run-with-idle-timer make-byte-code 0 "\300\301L\207" vconcat vector [nil] 2] 14 (#$ . 2478)])
|
(byte-code "\300\301\302\303\304\"\305#\210\306\301\307\310#\207" [defalias helm-toggle-resplit-and-swap-windows helm-make-multi-command (helm-toggle-resplit-window helm-swap-windows) 1 "Multi key command to re-split and swap helm window.\nFirst call runs `helm-toggle-resplit-window',\nand second call within 0.5s runs `helm-swap-windows'.\n\n" put helm-only t] 5)
|
#@1057 Defines in MAP a KEY and SUBKEY to COMMAND.
|
|
This allows typing KEY to call COMMAND the first time and
|
type only SUBKEY on subsequent calls.
|
|
Arg MAP is the keymap to use, SUBKEY is the initial short key-binding to
|
call COMMAND.
|
|
Arg OTHER-SUBKEYS is an alist specifying other short key-bindings
|
to use once started e.g:
|
|
(helm-define-key-with-subkeys global-map
|
(kbd "C-x v n") ?n 'git-gutter:next-hunk '((?p . git-gutter:previous-hunk)))
|
|
|
In this example, `C-x v n' will run `git-gutter:next-hunk'
|
subsequent "n"'s run this command again
|
and subsequent "p"'s run `git-gutter:previous-hunk'.
|
|
If specified PROMPT can be displayed in minibuffer to
|
describe SUBKEY and OTHER-SUBKEYS.
|
Arg EXIT-FN specifies a function to run on exit.
|
|
For any other keys pressed, run their assigned command as defined
|
in MAP and then exit the loop running EXIT-FN, if specified.
|
|
NOTE: SUBKEY and OTHER-SUBKEYS bindings support only char syntax and
|
vectors, so don't use strings to define them.
|
|
(fn MAP KEY SUBKEY COMMAND &optional OTHER-SUBKEYS PROMPT EXIT-FN)
|
(defalias 'helm-define-key-with-subkeys #[1796 "\300\301\302\303\304\305 &\306\"\307\310\211&#\207" [define-key make-byte-code 0 "\306\307\310\311\312\305!\313\"\314$\216\315\302!\210\316\304!\317\211\211\301=\203' \315\302!\210\320\202] \321\303\"\211\262\203: \315A!\210\320\202] \312!\262\322\300\"\262\323!\203S \315!\210\202\\ \324\325\"\244\317\266\204\205e \202 )\207" vconcat vector [make-byte-code 0 "\300\205 \300 \207" vconcat vector [] 1 call-interactively read-key nil t assoc lookup-key commandp mapcar identity last-command-event unread-command-events] 7 nil] 21 (#$ . 3379)])
|
(byte-code "\300\301\302\303#\300\207" [function-put helm-define-key-with-subkeys lisp-indent-function 1] 4)
|
#@18 Keymap for helm.
|
(defvar helm-map (byte-code "\302 \303\"\210\304\305\306#\210\304\307\310#\210\304\311\306#\210\304\312\310#\210\304\313\314#\210\304\315\316#\210\304\317\320#\210\304\321\322#\210\304\323\320#\210\304\324\322#\210\304\325\326#\210\304\327\330#\210\304\331\332#\210\304\333\334#\210\304\335\336#\210\304\337\340#\210\304\341\342#\210\304\343\344#\210\304\345\344#\210\304\346\334#\210\304\347\336#\210\304\350\351#\210\304\352\353#\210\304\354\355#\210\304\356\355#\210\304\357\360#\210\304\361\360#\210\304\362\360#\210\304\363\355#\210\304\364\360#\210\304\365\366#\210\304\367\366#\210\304\370\366#\210\304\371\372#\210\304\373\374#\210\304\375\376#\210\304\377\201@ #\210\304\201A \201B #\210\304\201C \201D #\210\304\201E \201F #\210\304\201G \201H #\210\304\201I \201J #\210\304\201K \201L #\210\304\201M \201N #\210\304\201O \201N #\210\304\201P \201Q #\210\304\201R \201S #\210\304\201T \201U #\210\304\201V \201W #\210\304\201X \201Y #\210\304\201Z \201[ #\210\304\201\\ \201] #\210\304\201^ \201_ #\210\304\201` \201a #\210\304\201b \201c #\210\304\201d \201e #\210\304\201f \201g #\210\304\201h \201i #\210\304\201j \201k #\210\304\201l \201m #\210\304\201n \201o #\210\201p \201q \201r \201s $\210\304\201t \201N #\210\304\201u \201v #\210\304\201w \201N #\210\304\201w \201x #\210\304\201y \201z #\210\304\201{ \372#\210\304\201| \201N #\210\304\201} \201N #\210\201p \201~ \201 \201\200 \201\201 %\210\201\202 \201\203 \"\211\203c\211@\304\201\204 #\210A\266\202\202N\210\304\201\205 \201\204 #\210\201\206 \211\201\207 X\203\237\304\201\210 \201\211 \201\212 T\"!\201\213 \372\201\214 \201\215 DF#\210\211T\262\202q\210\211\207" [minibuffer-local-map global-map make-sparse-keymap set-keymap-parent define-key [down] helm-next-line [up] helm-previous-line "" "" [C-down] helm-follow-action-forward [C-up] helm-follow-action-backward [prior] helm-previous-page [next] helm-next-page [134217846] "" [134217788] helm-beginning-of-buffer [134217790] helm-end-of-buffer "" helm-keyboard-quit [right] helm-next-source [left] helm-previous-source " " helm-maybe-exit-minibuffer " " helm-select-action "" helm-execute-persistent-action "\n" "" [134217839] "\f" helm-recenter-top-bottom-other-window [134217740] helm-reposition-window-other-window [134217750] helm-scroll-other-window [M-next] [134217753] helm-scroll-other-window-down [167772182] [M-prior] [C-M-down] [C-M-up] " |