Timeline for Yanking line copies past kill-ring lines along with current
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 20, 2017 at 17:04 | comment | added | Andreas Röhler | Still added the warnings if buffer is read-only. | |
Dec 20, 2017 at 17:03 | history | edited | Andreas Röhler | CC BY-SA 3.0 |
warnings if buffer is read-only
|
Dec 20, 2017 at 13:02 | vote | accept | João Pedro | ||
Dec 20, 2017 at 9:12 | comment | added | Andreas Röhler | Edit the answer, all there meanwhile. | |
Dec 20, 2017 at 9:10 | history | edited | Andreas Röhler | CC BY-SA 3.0 |
added 146 characters in body
|
Dec 20, 2017 at 9:04 | comment | added | Andreas Röhler | kill-new is provided by Emacs, installing it anew as defun would overwrite i.e. destroy the original. Write the interactive spec as you did in OP, than the body as provided in answer. | |
Dec 19, 2017 at 20:28 | comment | added | João Pedro | (defun kill-new () (buffer-substring-no-properties (line-beginning-position) (line-end-position))) (global-set-key (kbd "M-w") 'kill-new) This gives me error command-execute: Wrong type of argument : commandp, kill-new | |
Dec 19, 2017 at 8:06 | history | answered | Andreas Röhler | CC BY-SA 3.0 |