diff options
Diffstat (limited to 'lisp/files.el')
| -rw-r--r-- | lisp/files.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/files.el b/lisp/files.el index d44401b4302..1fb253a893a 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2085,6 +2085,8 @@ Don't call it from programs! Use `insert-file-contents-literally' instead. \(Its calling sequence is different; see its documentation)." (interactive "*fInsert file literally: ") (insert-file-1 filename #'insert-file-contents-literally)) +(put 'insert-file-literally 'interactive-only + "Use `insert-file-contents-literally' instead") (defvar find-file-literally nil "Non-nil if this buffer was made by `find-file-literally' or equivalent. @@ -5007,6 +5009,7 @@ Don't call it from programs! Use `insert-file-contents' instead. \(Its calling sequence is different; see its documentation)." (interactive "*fInsert file: ") (insert-file-1 filename #'insert-file-contents)) +(put 'insert-file 'interactive-only "Use `insert-file-contents' instead.") (defun append-to-file (start end filename) "Append the contents of the region to the end of file FILENAME. |
