commit | author | age
|
5cb5f7
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file uses dynamic docstrings, first added in Emacs 19.29. |
|
7 |
|
|
8 |
;;; This file does not contain utf-8 non-ASCII characters, |
|
9 |
;;; and so can be loaded in Emacs versions earlier than 23. |
|
10 |
|
|
11 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
12 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
13 |
|
|
14 |
|
|
15 |
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\306\307\310\311\312\302%\210\313\314\315\316\317DD\320\321\322\312\307&\210\313\323\315\316\324DD\325\321\326\312\307&\210\313\327\315\316\330DD\331\312\307\321\332&\210\313\333\315\316\334DD\335\312\307\321\336&\210\313\337\315\316\340DD\341\312\307\321\322&\207" [require cl-lib helm helm-utils helm-help helm-elisp custom-declare-group helm-ring nil "Ring related Applications and libraries for Helm." :group custom-declare-variable helm-kill-ring-threshold funcall function #[0 "\300\207" [3] 1] "Minimum length of a candidate to be listed by `helm-source-kill-ring'." :type integer helm-kill-ring-max-offset #[0 "\300\207" [400] 1] "Max number of chars displayed per candidate in kill-ring browser.\nWhen `t', don't truncate candidate, show all.\nBy default it is approximatively the number of bits contained in five lines\nof 80 chars each i.e 80*5.\nNote that if you set this to nil multiline will be disabled, i.e you\nwill not have anymore separators between candidates." (choice (const :tag "Disabled" t) (integer :tag "Max candidate offset")) helm-kill-ring-actions #[0 "\300\207" [(("Yank marked" . helm-kill-ring-action-yank) ("Delete marked" . helm-kill-ring-action-delete))] 1] "List of actions for kill ring source." (alist :key-type string :value-type function) helm-kill-ring-separator #[0 "\300\207" [#1="\n"] 1 #1#] "The separator used to separate marked candidates when yanking." string helm-register-max-offset #[0 "\300\207" [160] 1] "Max size of string register entries before truncating."] 8) |
|
16 |
#@35 Keymap for `helm-show-kill-ring'. |
|
17 |
(defvar helm-kill-ring-map (byte-code "\301 \302\"\210\303\304\305#\210\303\306\307#\210\303\310\311#\210\303\312\313#\210\303\314\315#\210\211\207" [helm-map make-sparse-keymap set-keymap-parent define-key [134217849] helm-next-line [134217845] helm-previous-line [134217796] helm-kill-ring-delete "" helm-kill-ring-toggle-truncated "" helm-kill-ring-kill-selection] 5) (#$ . 2009)) |
|
18 |
#@53 Source for browse and insert contents of kill-ring. |
|
19 |
(defvar helm-source-kill-ring (helm-make-source "Kill Ring" 'helm-source-sync :init #[0 "\302\300\"\210\302\303 \"\207" [last-command helm-kill-ring-max-offset helm-attrset multiline] 3] :candidates 'helm-kill-ring-candidates :filtered-candidate-transformer 'helm-kill-ring-transformer :action 'helm-kill-ring-actions :persistent-action 'ignore :help-message 'helm-kill-ring-help-message :persistent-help "DoNothing" :keymap helm-kill-ring-map :migemo t :multiline 'helm-kill-ring-max-offset :group 'helm-ring) (#$ . 2443)) |
|
20 |
(defalias 'helm-kill-ring-candidates #[0 "\302\303\304#\305\211:\203* @\262G W\204# \306\307\"\204# B\262A\262\202 \211\237\207" [kill-ring helm-kill-ring-threshold helm-fast-remove-dups :test equal nil string-match "\\`[\n[:blank:]]+\\'"] 6]) |
|
21 |
#@62 Ensure CANDIDATES are not read-only. |
|
22 |
|
|
23 |
(fn CANDIDATES SOURCE) |
|
24 |
(defalias 'helm-kill-ring-transformer #[514 "\300\211:\203( @\262\301\302\303#\203 \304\302G\305$\210B\262A\262\202 \211\237\207" [nil get-text-property 0 read-only set-text-properties (read-only nil)] 10 (#$ . 3282)]) |
|
25 |
(defvar helm-kill-ring--truncated-flag nil) |
|
26 |
#@64 Toggle truncated view of candidates in helm kill-ring browser. |
|
27 |
(defalias 'helm-kill-ring-toggle-truncated #[0 "\203% ?\303 \304\305\306\307\310!\311\"\312$\313\314 \203 \315\202 \n\"\210\316!\207\317\320!\207" [helm-alive-p helm-kill-ring--truncated-flag helm-kill-ring-max-offset helm-get-selection make-byte-code 0 "\301\300!\207" vconcat vector [helm-kill-ring--preselect-fn] 2 helm-attrset multiline 15000000 helm-update error "Running helm command outside of context"] 7 (#$ . 3626) nil]) |
|
28 |
(put 'helm-kill-ring-toggle-truncated 'helm-only t) |
|
29 |
#@114 Store the real value of candidate in kill-ring. |
|
30 |
Same as `helm-kill-selection-and-quit' called with a prefix arg. |
|
31 |
(defalias 'helm-kill-ring-kill-selection #[0 "\300\301!\207" [helm-kill-selection-and-quit t] 2 (#$ . 4186) nil]) |
|
32 |
(put 'helm-kill-ring-kill-selection 'helm-only t) |
|
33 |
#@85 Internal, used to preselect CANDIDATE when toggling truncated view. |
|
34 |
|
|
35 |
(fn CANDIDATE) |
|
36 |
(defalias 'helm-kill-ring--preselect-fn #[257 "\300\3012; \211\205: \3021 \303 ?\205 \304 0\202 \210\305\211\2033 \211\230\203- \306\301\305\"\210\2026 \307 \210\2026 \305\262\210\202 0\207" [t --cl-block-nil-- (debug error) helm-pos-header-line-p helm-get-selection nil throw helm-next-line] 6 (#$ . 4469)]) |
|
37 |
#@181 Insert concatenated marked candidates in current-buffer. |
|
38 |
|
|
39 |
When two prefix args are given prompt to choose separator, otherwise |
|
40 |
use `helm-kill-ring-separator' as default. |
|
41 |
|
|
42 |
(fn STR) |
|
43 |
(defalias 'helm-kill-ring-action-yank #[257 "\302 \303\232\203 \304\305!\202 \306\307!\310\311:\203- @\262\211PP\262A\262\202 \211\312!@P\266\203!\207" [helm-current-prefix-arg helm-kill-ring-separator helm-marked-candidates (16) read-string "Separator: " helm-kill-ring-action-yank-1 butlast nil "" last] 10 (#$ . 4875)]) |
|
44 |
#@231 Insert STR in `kill-ring' and set STR to the head. |
|
45 |
|
|
46 |
When called with a prefix arg, point and mark are exchanged without |
|
47 |
activating region. |
|
48 |
If this action is executed just after `yank', |
|
49 |
replace with STR as yanked string. |
|
50 |
|
|
51 |
(fn STR) |
|
52 |
(defalias 'helm-kill-ring-action-yank-1 #[257 "\306\307\310\311\312!\313\"\314\315%\316\317G\320$\210r\321!\203 \206\" |