Commit 5ce52d05 authored by Daniel Colascione's avatar Daniel Colascione

* register.el (insert-register): Change default interactive insertion mode.

parent 36cac320
2014-09-14 Daniel Colascione <dancol@dancol.org>
* NEWS: Mention changes to `insert-register'
2014-09-13 Christopher Schmidt <ch@ristopher.com>
* NEWS: Mention nil `calendar-mode-line-format' will not modify
......
......@@ -49,6 +49,9 @@ Use './configure PKG_CONFIG=/full/name/of/pkg-config' if you need to.
* Changes in Emacs 24.5
** `insert-register' now leaves point after the inserted text
when called interactively. A prefix argument toggles this behavior.
** New var `truncate-string-ellipsis' to choose how to indicate truncation.
---
......
2014-09-14 Daniel Colascione <dancol@dancol.org>
* register.el (insert-register): Change default interactive
insertion mode.
2014-09-14 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-cache.el (tramp-flush-file-function): Simplify check.
......
......@@ -425,13 +425,14 @@ Interactively, reads the register using `register-read-with-preview'."
"Insert contents of register REGISTER. (REGISTER is a character.)
Normally puts point before and mark after the inserted text.
If optional second arg is non-nil, puts mark before and point after.
Interactively, second arg is non-nil if prefix arg is supplied.
Interactively, second arg is nil if prefix arg is supplied and t
otherwise.
Interactively, reads the register using `register-read-with-preview'."
(interactive (progn
(barf-if-buffer-read-only)
(list (register-read-with-preview "Insert register: ")
current-prefix-arg)))
(not current-prefix-arg))))
(push-mark)
(let ((val (get-register register)))
(cond
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment