Commit 22ddd299 authored by Dave Love's avatar Dave Love

(after-save-hook): Customize, with

make-buffer-file-executable-if-script-p as an option.
parent 778e1d17
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
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment