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
22ddd299
Commit
22ddd299
authored
Jun 09, 2000
by
Dave Love
Browse files
(after-save-hook): Customize, with
make-buffer-file-executable-if-script-p as an option.
parent
778e1d17
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
lisp/ChangeLog
lisp/ChangeLog
+11
-0
lisp/files.el
lisp/files.el
+5
-2
No files found.
lisp/ChangeLog
View file @
22ddd299
2000-06-09 Dave Love <fx@gnu.org>
* executable.el: Byte compile dynamic.
(executable-insert): Change custom type.
(executable-find): Add autoload cookie.
(make-buffer-file-executable-if-script-p): New function. From
Noah Friedman.
* files.el (after-save-hook): Customize, with
make-buffer-file-executable-if-script-p as an option.
2000-06-09 Kenichi Handa <handa@etl.go.jp>
* ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
...
...
lisp/files.el
View file @
22ddd299
...
...
@@ -2495,8 +2495,11 @@ the last real save, but optional arg FORCE non-nil means delete anyway."
(
defvar
auto-save-hook
nil
"Normal hook run just before auto-saving."
)
(
defvar
after-save-hook
nil
"Normal hook that is run after a buffer is saved to its file."
)
(
defcustom
after-save-hook
nil
"Normal hook that is run after a buffer is saved to its file."
:options
'
(
make-buffer-file-executable-if-script-p
)
:type
'hook
:group
'files
)
(
defvar
save-buffer-coding-system
nil
"If non-nil, use this coding system for saving the buffer.
...
...
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