Mercurial > emacs
comparison lisp/progmodes/executable.el @ 12812:39e721f1681f
(interpreter-mode-alist): Delete autoload cookie.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Wed, 09 Aug 1995 22:42:34 +0000 |
| parents | 9f5037515993 |
| children | 9066b33175e6 |
comparison
equal
deleted
inserted
replaced
| 12811:11f5ce737c57 | 12812:39e721f1681f |
|---|---|
| 23 ;;; Commentary: | 23 ;;; Commentary: |
| 24 | 24 |
| 25 ;; Provide or modify interpreter magic number for buffer, and make file | 25 ;; Provide or modify interpreter magic number for buffer, and make file |
| 26 ;; executable if it isn't. Support code for the likes of sh-, awk-, perl-, | 26 ;; executable if it isn't. Support code for the likes of sh-, awk-, perl-, |
| 27 ;; tcl- or makefile-mode. | 27 ;; tcl- or makefile-mode. |
| 28 | |
| 29 ;; Would someone please explain clearly what this is to be used for? -- rms. | |
| 28 | 30 |
| 29 ;;; Code: | 31 ;;; Code: |
| 30 | 32 |
| 31 (defvar executable-insert 'not-modified | 33 (defvar executable-insert 'not-modified |
| 32 "*What to do when newly found file has no or wrong magic number: | 34 "*What to do when newly found file has no or wrong magic number: |
| 61 | 63 |
| 62 | 64 |
| 63 (defvar executable-command nil) | 65 (defvar executable-command nil) |
| 64 | 66 |
| 65 | 67 |
| 66 ;;;###autoload | 68 ;; Autoload cookie deleted here because it made loaddefs.el fail to load. |
| 69 ;; -rms | |
| 67 (or (assoc "tail" interpreter-mode-alist) | 70 (or (assoc "tail" interpreter-mode-alist) |
| 68 (nconc interpreter-mode-alist | 71 (nconc interpreter-mode-alist |
| 69 '(("tail" . text-mode) | 72 '(("tail" . text-mode) |
| 70 ("more" . text-mode) | 73 ("more" . text-mode) |
| 71 ("less" . text-mode) | 74 ("less" . text-mode) |
