diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-09-04 17:02:12 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-09-04 17:02:12 +0000 |
commit | 8d4e82b502175a979aea6cf651c657f60993133b (patch) | |
tree | 022bcd0a58d62ba2e33a8dc640398a4e2c9cb192 /lisp/progmodes/executable.el | |
parent | 99c1aeca5e1b6296a2c604fb085562bdf393f1ba (diff) | |
download | emacs-8d4e82b502175a979aea6cf651c657f60993133b.tar.gz emacs-8d4e82b502175a979aea6cf651c657f60993133b.tar.bz2 emacs-8d4e82b502175a979aea6cf651c657f60993133b.zip |
(executable-insert): Doc fix.
(executable-query): Doc fix.
Diffstat (limited to 'lisp/progmodes/executable.el')
-rw-r--r-- | lisp/progmodes/executable.el | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/lisp/progmodes/executable.el b/lisp/progmodes/executable.el index 27dd1799f01..62d6f59fbbb 100644 --- a/lisp/progmodes/executable.el +++ b/lisp/progmodes/executable.el @@ -52,19 +52,15 @@ ;;; Code: -(defvar executable-insert 'not-modified - "*What to do when newly found file has no or wrong magic number: - nil do nothing - t insert or update magic number - other insert or update magic number, but mark as unmodified. -When the insertion is marked as unmodified, you can save it with \\[write-file] RET. -This variable is used when `executable-set-magic' is called as a function, -e.g. when Emacs sets some Un*x interpreter script mode. -With \\[executable-set-magic], this is always treated as if it were `t'.") - +(defvar executable-insert t + "*Non-nil means offer to add a magic number to a file. +This takes effect when you switch to certain major modes, +including Shell-script mode (`sh-mode'). +When you type \\[executable-set-magic], it always offers to add or +update the magic number.") (defvar executable-query 'function - "*If non-`nil', ask user before inserting or changing magic number. + "*If non-nil, ask user before changing an existing magic number. When this is `function', only ask when called non-interactively.") |