Mercurial > emacs
changeset 16128:7af77f490166
(executable-insert): Doc fix.
(executable-query): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 04 Sep 1996 17:02:12 +0000 |
parents | 8d6d35b486c0 |
children | f6c51da4c4e3 |
files | lisp/progmodes/executable.el |
diffstat | 1 files changed, 7 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/executable.el Wed Sep 04 16:27:55 1996 +0000 +++ b/lisp/progmodes/executable.el Wed Sep 04 17:02:12 1996 +0000 @@ -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.")