Use non-obsolete tail syntax. (Bug#20779)
(executable-self-display): Doc update.
(defvar executable-command nil)
(defcustom executable-self-display "tail"
- "Command you use with argument `+2' to make text files self-display.
+ "Command you use with argument `-n+2' to make text files self-display.
Note that the like of `more' doesn't work too well under Emacs \\[shell]."
:type 'string
:group 'executable)
(interactive)
(if (eq this-command 'executable-self-display)
(setq this-command 'executable-set-magic))
- (executable-set-magic executable-self-display "+2"))
+ (executable-set-magic executable-self-display "-n+2"))
;;;###autoload
(defun executable-make-buffer-file-executable-if-script-p ()