# HG changeset patch # User Dave Love # Date 960543627 0 # Node ID d5b77185f216f8400d253190314e94bebac521f4 # Parent 64d6ad22bce7289e482868ccbfe3cf003898d025 (after-save-hook): Customize, with make-buffer-file-executable-if-script-p as an option. diff -r 64d6ad22bce7 -r d5b77185f216 lisp/files.el --- a/lisp/files.el Fri Jun 09 09:38:58 2000 +0000 +++ b/lisp/files.el Fri Jun 09 09:40:27 2000 +0000 @@ -2495,8 +2495,11 @@ (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.