diff options
| author | Richard M. Stallman | 1995-08-10 18:38:17 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-08-10 18:38:17 +0000 |
| commit | 7204084ebb1a2ae48539cb08935a65781fade48e (patch) | |
| tree | a0024f9a06ecf047e78331fd443907fb264a0df4 /lisp/progmodes/executable.el | |
| parent | 507fb916e928957b5e8c1224cf39c8a9959e478b (diff) | |
| download | emacs-7204084ebb1a2ae48539cb08935a65781fade48e.tar.gz emacs-7204084ebb1a2ae48539cb08935a65781fade48e.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 3711ec4f67a..3e92700da6b 100644 --- a/lisp/progmodes/executable.el +++ b/lisp/progmodes/executable.el | |||
| @@ -21,10 +21,13 @@ | |||
| 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 | 24 | ;; This is support code for the likes of sh-, awk-, perl-, tcl- or | |
| 25 | ;; Provide or modify interpreter magic number for buffer, and make file | 25 | ;; makefile-mode. Those mode-setting commands can call the like of |
| 26 | ;; executable if it isn't. Support code for the likes of sh-, awk-, perl-, | 26 | ;; `(executable-set-magic "sh")' or `(executable-set-magic "perl" "-f")'. |
| 27 | ;; tcl- or makefile-mode. | 27 | ;; 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 | ||
| 29 | ;; first line like `#! /bin/sh' or `#! /usr/local/bin/perl -f' and the file | ||
| 30 | ;; will be made executable as soon as it's saved if it wasn't. | ||
| 28 | 31 | ||
| 29 | ;; Would someone please explain clearly what this is to be used for? -- rms. | 32 | ;; Would someone please explain clearly what this is to be used for? -- rms. |
| 30 | 33 | ||