Function: executable-self-display

executable-self-display is an interactive and byte-compiled function defined in executable.el.gz.

This command is obsolete since 25.1.

Signature

(executable-self-display)

Documentation

Turn a text file into a self-displaying Un*x command.

The magic number of such a command displays all lines but itself.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/executable.el.gz
(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))
  (executable-set-magic executable-self-display "-n+2"))