summaryrefslogtreecommitdiff
path: root/lisp/progmodes/executable.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2015-06-10 16:24:32 -0400
committerGlenn Morris <rgm@gnu.org>2015-06-10 16:24:32 -0400
commitd9d04bfa49514692b752072d9e6559a05d24f336 (patch)
tree94235754e1dc43f57182a80261b61032b4334658 /lisp/progmodes/executable.el
parentdfa1dc1c2b05eff6336cfac0f36c6137b4a57733 (diff)
downloademacs-d9d04bfa49514692b752072d9e6559a05d24f336.tar.gz
* lisp/progmodes/executable.el (executable-self-display): Obsolete.
No longer autoload. * doc/misc/autotype.texi (Executables): Undocument executable-self-display.
Diffstat (limited to 'lisp/progmodes/executable.el')
-rw-r--r--lisp/progmodes/executable.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/executable.el b/lisp/progmodes/executable.el
index 367a2e72d74..50e4da93c73 100644
--- a/lisp/progmodes/executable.el
+++ b/lisp/progmodes/executable.el
@@ -109,6 +109,8 @@ Note that the like of `more' doesn't work too well under Emacs \\[shell]."
:type 'string
:group 'executable)
+(make-obsolete-variable 'executable-self-display nil "25.1" 'set)
+
(defvar executable-font-lock-keywords
'(("\\`#!.*/\\([^ \t\n]+\\)" 1 font-lock-keyword-face t))
@@ -251,10 +253,10 @@ executable."
-;;;###autoload
(defun executable-self-display ()
"Turn a text file into a self-displaying Un*x command.
The magic number of such a command displays all lines but itself."
+ (declare (obsolete nil "25.1"))
(interactive)
(if (eq this-command 'executable-self-display)
(setq this-command 'executable-set-magic))