diff options
author | Glenn Morris <rgm@gnu.org> | 2013-11-30 00:42:28 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-11-30 00:42:28 -0800 |
commit | 3e2fb4db3f517dd051cd35c742355c492e085333 (patch) | |
tree | de82aeb80b27e6fa59ee52edb9dcff10e2159054 /lisp/comint.el | |
parent | 44ad1cf76039dc5a2a94e82a6b6eb13124c3cc92 (diff) | |
download | emacs-3e2fb4db3f517dd051cd35c742355c492e085333.tar.gz |
Make the `interactive-only' bytecomp warning like the `obsolete' one
* emacs-lisp/bytecomp.el (byte-compile-form):
Make the `interactive-only' warning like the `obsolete' one.
* comint.el (comint-run):
* files.el (insert-file-literally, insert-file):
* replace.el (replace-string, replace-regexp):
* simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
(goto-line, insert-buffer, next-line, previous-line):
Tweak `interactive-only' spec.
Diffstat (limited to 'lisp/comint.el')
-rw-r--r-- | lisp/comint.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index 3aff3137d74..afd93fc6ff0 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -752,7 +752,7 @@ See `make-comint' and `comint-exec'." (let ((name (file-name-nondirectory program))) (switch-to-buffer (make-comint name program)) (run-hooks (intern-soft (concat "comint-" name "-hook"))))) -(put 'comint-run 'interactive-only "Use `make-comint' instead") +(put 'comint-run 'interactive-only 'make-comint) (defun comint-exec (buffer name command startfile switches) "Start up a process named NAME in buffer BUFFER for Comint modes. |