]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/executable.el (executable-self-display): Obsolete.
authorGlenn Morris <rgm@gnu.org>
Wed, 10 Jun 2015 20:24:32 +0000 (16:24 -0400)
committerGlenn Morris <rgm@gnu.org>
Wed, 10 Jun 2015 20:24:32 +0000 (16:24 -0400)
No longer autoload.

* doc/misc/autotype.texi (Executables):
Undocument executable-self-display.

doc/misc/autotype.texi
lisp/progmodes/executable.el

index acc98ed2a1b3c14de33641b55626b2f65bd8def5..a147d4bdeb3028fb508c409b4a8d39e3c0c4853e 100644 (file)
@@ -517,12 +517,6 @@ is only done with @kbd{M-x executable-set-magic}.  When this is
 called as a function, such as when Emacs puts a buffer in Shell script
 mode.  Otherwise you are always queried.
 
-@findex executable-self-display
-  @kbd{M-x executable-self-display} adds a magic number to the buffer, which
-will turn it into a self displaying text file, when called as a Un*x command.
-The ``interpreter'' used is @code{executable-self-display} with argument
-@samp{+2}.
-
 @node Timestamps
 @chapter Maintaining Timestamps in Modified Files
 @cindex timestamps
index 367a2e72d742cfdd2ef629a72a580f6118d5cbf8..50e4da93c73aa4b170063984b70b032bdf7efbd2 100644 (file)
@@ -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))