bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18915: 24.3; Feature: Prompt to make executable on write-file


From: Glenn Morris
Subject: bug#18915: 24.3; Feature: Prompt to make executable on write-file
Date: Fri, 31 Oct 2014 14:06:04 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Ed Avis wrote:

> (if you edit a script and save a copy, you'll probably want to run the
> new script).

The existing

(add-hook 'after-save-hook
          'executable-make-buffer-file-executable-if-script-p)

already handles that particular case, so personally I don't see the need
for a new, more general feature for this.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]