(tpu-include) Use insert-file-contents, remove save-excursion.
This commit is contained in:
parent
633cee4683
commit
0ca03bbaa6
1 changed files with 2 additions and 3 deletions
|
@ -744,9 +744,8 @@ This is useful for inserting control characters."
|
|||
(defun tpu-include (file)
|
||||
"TPU-like include file"
|
||||
(interactive "fInclude file: ")
|
||||
(save-excursion
|
||||
(insert-file file)
|
||||
(message "")))
|
||||
(insert-file-contents file)
|
||||
(message ""))
|
||||
|
||||
(defun tpu-get (file)
|
||||
"TPU-like get file"
|
||||
|
|
Loading…
Add table
Reference in a new issue