• Glenn Morris's avatar
    Allow `declare' to set the interactive-only property · 5076d275
    Glenn Morris authored
    * lisp/emacs-lisp/byte-run.el (defun-declarations-alist):
    Add interactive-only.  Doc tweak.
    (macro-declarations-alist): Doc tweak.
    
    * lisp/subr.el (declare): Doc tweak (add xref to manual).
    
    * lisp/comint.el (comint-run):
    * lisp/files.el (insert-file-literally, insert-file):
    * lisp/replace.el (replace-string, replace-regexp):
    * lisp/simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
    (delete-forward-char, goto-line, insert-buffer, next-line)
    (previous-line): Set interactive-only via declare.
    
    * doc/lispref/functions.texi (Declare Form): Add interactive-only.
    
    * doc/lispref/commands.texi (Defining Commands) Mention declare.
    
    * etc/NEWS: Mention this.
    5076d275
byte-run.el 19.2 KB