Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8d4e82b5
Commit
8d4e82b5
authored
Sep 04, 1996
by
Richard M. Stallman
Browse files
(executable-insert): Doc fix.
(executable-query): Doc fix.
parent
99c1aeca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
lisp/progmodes/executable.el
lisp/progmodes/executable.el
+7
-11
No files found.
lisp/progmodes/executable.el
View file @
8d4e82b5
...
...
@@ -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 chang
ing magic number.
"*If non-nil, ask user before
changing an exist
ing magic number.
When this is `function', only ask when called non-interactively."
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment