diff options
| author | Richard M. Stallman | 1995-08-10 18:55:44 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-08-10 18:55:44 +0000 |
| commit | 314001b564b1b3becefb94d79f6f2d9df328354e (patch) | |
| tree | 0a5d8065fd2dc720b7b5fdba78540d14f36a060a /lisp/progmodes/executable.el | |
| parent | 7204084ebb1a2ae48539cb08935a65781fade48e (diff) | |
| download | emacs-314001b564b1b3becefb94d79f6f2d9df328354e.tar.gz emacs-314001b564b1b3becefb94d79f6f2d9df328354e.zip | |
Comment change.
Diffstat (limited to 'lisp/progmodes/executable.el')
| -rw-r--r-- | lisp/progmodes/executable.el | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/progmodes/executable.el b/lisp/progmodes/executable.el index 3e92700da6b..11dd54f1e7d 100644 --- a/lisp/progmodes/executable.el +++ b/lisp/progmodes/executable.el | |||
| @@ -21,15 +21,18 @@ | |||
| 21 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 21 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
| 22 | 22 | ||
| 23 | ;;; Commentary: | 23 | ;;; Commentary: |
| 24 | |||
| 25 | ;; executable.el is used by certain major modes to insert a suitable | ||
| 26 | ;; #! line at the beginning of the file, if the file does not already | ||
| 27 | ;; have one. | ||
| 28 | |||
| 24 | ;; This is support code for the likes of sh-, awk-, perl-, tcl- or | 29 | ;; This is support code for the likes of sh-, awk-, perl-, tcl- or |
| 25 | ;; makefile-mode. Those mode-setting commands can call the like of | 30 | ;; makefile-mode. Those mode-setting commands can call the like of |
| 26 | ;; `(executable-set-magic "sh")' or `(executable-set-magic "perl" "-f")'. | 31 | ;; `(executable-set-magic "sh")' or `(executable-set-magic "perl" "-f")'. |
| 27 | ;; Unless the file name matches `executable-magicless-file-regexp' this will | 32 | ;; Unless the file name matches `executable-magicless-file-regexp' this will |
| 28 | ;; search $PATH if the given interpreter isn't absolute, and then insert a | 33 | ;; search $PATH if the given interpreter isn't absolute, and then insert a |
| 29 | ;; first line like `#! /bin/sh' or `#! /usr/local/bin/perl -f' and the file | 34 | ;; first line like `#! /bin/sh' or `#! /usr/local/bin/perl -f'. |
| 30 | ;; will be made executable as soon as it's saved if it wasn't. | 35 | ;; Also it makes the file executable as soon as it's saved, if it wasn't. |
| 31 | |||
| 32 | ;; Would someone please explain clearly what this is to be used for? -- rms. | ||
| 33 | 36 | ||
| 34 | ;;; Code: | 37 | ;;; Code: |
| 35 | 38 | ||