diff options
| author | Daniel Colascione | 2014-09-14 16:11:52 -0700 |
|---|---|---|
| committer | Daniel Colascione | 2014-09-14 16:11:52 -0700 |
| commit | 5ce52d05c93e0c006bbd145b938aa9fab7dfcb8d (patch) | |
| tree | 467ced2bf8b3819b4988664d747ff37313a559c6 /lisp | |
| parent | 36cac3209313d849f3eef6e4c7278eb018817e23 (diff) | |
| download | emacs-5ce52d05c93e0c006bbd145b938aa9fab7dfcb8d.tar.gz emacs-5ce52d05c93e0c006bbd145b938aa9fab7dfcb8d.zip | |
* register.el (insert-register): Change default interactive insertion mode.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/register.el | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 35df2c5bf17..b9990cbe594 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-09-14 Daniel Colascione <dancol@dancol.org> | ||
| 2 | |||
| 3 | * register.el (insert-register): Change default interactive | ||
| 4 | insertion mode. | ||
| 5 | |||
| 1 | 2014-09-14 Michael Albinus <michael.albinus@gmx.de> | 6 | 2014-09-14 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 7 | ||
| 3 | * net/tramp-cache.el (tramp-flush-file-function): Simplify check. | 8 | * net/tramp-cache.el (tramp-flush-file-function): Simplify check. |
diff --git a/lisp/register.el b/lisp/register.el index eb3c71afece..ffa3c954ed2 100644 --- a/lisp/register.el +++ b/lisp/register.el | |||
| @@ -425,13 +425,14 @@ Interactively, reads the register using `register-read-with-preview'." | |||
| 425 | "Insert contents of register REGISTER. (REGISTER is a character.) | 425 | "Insert contents of register REGISTER. (REGISTER is a character.) |
| 426 | Normally puts point before and mark after the inserted text. | 426 | Normally puts point before and mark after the inserted text. |
| 427 | If optional second arg is non-nil, puts mark before and point after. | 427 | If optional second arg is non-nil, puts mark before and point after. |
| 428 | Interactively, second arg is non-nil if prefix arg is supplied. | 428 | Interactively, second arg is nil if prefix arg is supplied and t |
| 429 | otherwise. | ||
| 429 | 430 | ||
| 430 | Interactively, reads the register using `register-read-with-preview'." | 431 | Interactively, reads the register using `register-read-with-preview'." |
| 431 | (interactive (progn | 432 | (interactive (progn |
| 432 | (barf-if-buffer-read-only) | 433 | (barf-if-buffer-read-only) |
| 433 | (list (register-read-with-preview "Insert register: ") | 434 | (list (register-read-with-preview "Insert register: ") |
| 434 | current-prefix-arg))) | 435 | (not current-prefix-arg)))) |
| 435 | (push-mark) | 436 | (push-mark) |
| 436 | (let ((val (get-register register))) | 437 | (let ((val (get-register register))) |
| 437 | (cond | 438 | (cond |