summaryrefslogtreecommitdiff
path: root/lisp/progmodes/m4-mode.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-09-06 22:20:09 +0000
committerRichard M. Stallman <rms@gnu.org>1997-09-06 22:20:09 +0000
commit1091853337ed34dc391021a5f41507b24bd498d1 (patch)
tree6d6d3a7f741c62747b12d6420b6524d691f0b6a4 /lisp/progmodes/m4-mode.el
parent6c4fd4363d8ad8e04eb1d7f574a53228f7d1b6d4 (diff)
downloademacs-1091853337ed34dc391021a5f41507b24bd498d1.tar.gz
(m4-mode): Add autoload cookie.
Diffstat (limited to 'lisp/progmodes/m4-mode.el')
-rw-r--r--lisp/progmodes/m4-mode.el12
1 files changed, 2 insertions, 10 deletions
diff --git a/lisp/progmodes/m4-mode.el b/lisp/progmodes/m4-mode.el
index a76c5add026..5f39305e9a3 100644
--- a/lisp/progmodes/m4-mode.el
+++ b/lisp/progmodes/m4-mode.el
@@ -34,15 +34,6 @@
;; * want to make m4-m4-(buffer|region) look sorta like M-x compile look&feel ?
;; * sexp motion commands don't seem to work right
-;; to autoload m4 lisp code:
-;; (autoload 'm4-mode "m4-mode" nil t)
-;;
-;; or can use (load "m4-mode") or (require 'm4-mode) to just load it
-;;
-;; to try to "auto-detect" m4 files:
-;; (setq auto-mode-alist
-;; (cons '(".*\\.m4$" . m4-mode)
-;; auto-mode-alist))
;;; Thanks:
;;; to Akim Demaille and Terry Jones for the bug reports
;;; to Simon Marshall for the regexp tip
@@ -128,8 +119,9 @@
(process-send-eof "m4process")
(switch-to-buffer-other-window "*m4 output*"))
+;;;###autoload
(defun m4-mode ()
- "A major-mode to edit m4 macro files
+ "A major mode to edit m4 macro files.
\\{m4-mode-map}
"
(interactive)