mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-05 20:43:08 +00:00
(append-to-buffer): Interactively, supply all 3 args.
Allow nonexistent buffers.
This commit is contained in:
parent
6992e6b7a7
commit
23efee2ce4
@ -1194,7 +1194,8 @@ When calling from a program, give three arguments:
|
||||
BUFFER (or buffer name), START and END.
|
||||
START and END specify the portion of the current buffer to be copied."
|
||||
(interactive
|
||||
(list (read-buffer "Append to buffer: " (other-buffer nil t) t)))
|
||||
(list (read-buffer "Append to buffer: " (other-buffer nil t))
|
||||
(region-beginning) (region-end)))
|
||||
(let ((oldbuf (current-buffer)))
|
||||
(save-excursion
|
||||
(set-buffer (get-buffer-create buffer))
|
||||
|
Loading…
x
Reference in New Issue
Block a user