diff options
author | Case Duckworth | 2022-01-21 16:34:55 -0600 |
---|---|---|
committer | Case Duckworth | 2022-01-21 16:34:55 -0600 |
commit | adf815b61bfd850e948e60b743ce48b0ff42d901 (patch) | |
tree | 124851afc4f05ed898fc5ee2e7c0cfdab25fc06f /lisp/+crux.el | |
parent | Fix mode-line-bell recipe (diff) | |
download | emacs-adf815b61bfd850e948e60b743ce48b0ff42d901.tar.gz emacs-adf815b61bfd850e948e60b743ce48b0ff42d901.zip |
Two out of three ain't bad
Diffstat (limited to 'lisp/+crux.el')
-rw-r--r-- | lisp/+crux.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/+crux.el b/lisp/+crux.el index b87ec7e..45b4dee 100644 --- a/lisp/+crux.el +++ b/lisp/+crux.el | |||
@@ -15,8 +15,10 @@ Copy from BEGIN to END using `kill-ring-save' if no argument was | |||
15 | passed, or with `crux-indent-rigidly-and-copy-to-clipboard' if | 15 | passed, or with `crux-indent-rigidly-and-copy-to-clipboard' if |
16 | one was." | 16 | one was." |
17 | (interactive "r\nP") | 17 | (interactive "r\nP") |
18 | (call-interactively (if arg #'kill-ring-save | 18 | (call-interactively (if arg |
19 | #'crux-indent-rigidly-and-copy-to-clipboard))) | 19 | #'crux-indent-rigidly-and-copy-to-clipboard |
20 | #'kill-ring-save)) | ||
21 | (pulse-momentary-highlight-region begin end)) | ||
20 | 22 | ||
21 | (defcustom +crux-default-date-format "%c" | 23 | (defcustom +crux-default-date-format "%c" |
22 | "Default date format to use for `+crux-insert-date-or-time'. | 24 | "Default date format to use for `+crux-insert-date-or-time'. |