mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-17 10:06:13 +00:00
(tpu-include) Use insert-file-contents, remove save-excursion.
This commit is contained in:
parent
633cee4683
commit
0ca03bbaa6
@ -744,9 +744,8 @@ This is useful for inserting control characters."
|
|||||||
(defun tpu-include (file)
|
(defun tpu-include (file)
|
||||||
"TPU-like include file"
|
"TPU-like include file"
|
||||||
(interactive "fInclude file: ")
|
(interactive "fInclude file: ")
|
||||||
(save-excursion
|
(insert-file-contents file)
|
||||||
(insert-file file)
|
(message ""))
|
||||||
(message "")))
|
|
||||||
|
|
||||||
(defun tpu-get (file)
|
(defun tpu-get (file)
|
||||||
"TPU-like get file"
|
"TPU-like get file"
|
||||||
|
Loading…
Reference in New Issue
Block a user