diff options
author | Stephen Eglen <stephen@gnu.org> | 1998-04-09 12:31:57 +0000 |
---|---|---|
committer | Stephen Eglen <stephen@gnu.org> | 1998-04-09 12:31:57 +0000 |
commit | e4df16d0071a611af7c2834a85c5256e85b9ee1f (patch) | |
tree | 0c24528992d0685258383d4d3af13878e6ea987a /lisp/progmodes/m4-mode.el | |
parent | 1c36bac652a4d902810b1dac081123ebbaa7387d (diff) | |
download | emacs-e4df16d0071a611af7c2834a85c5256e85b9ee1f.tar.gz |
Customize
Diffstat (limited to 'lisp/progmodes/m4-mode.el')
-rw-r--r-- | lisp/progmodes/m4-mode.el | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/lisp/progmodes/m4-mode.el b/lisp/progmodes/m4-mode.el index ddf91a3742b..dc1aae1bff2 100644 --- a/lisp/progmodes/m4-mode.el +++ b/lisp/progmodes/m4-mode.el @@ -41,17 +41,29 @@ ;;; Code: -(defvar m4-program +(defgroup m4 nil + "m4 code editing commands for Emacs." + :prefix "m4-" + :group 'languages) + +(defcustom m4-program (cond ((file-exists-p "/usr/local/bin/m4") "/usr/local/bin/m4") ((file-exists-p "/usr/bin/m4") "/usr/bin/m4") ((file-exists-p "/bin/m4") "/bin/m4") ((file-exists-p "/usr/ccs/bin/m4") "/usr/ccs/bin/m4") + ( t "m4") ) - "File name of the m4 executable.") + "File name of the m4 executable." + :type 'file + :group 'm4) ;;options to m4 -(defconst m4-program-options nil) +(defcustom m4-program-options nil + "Options to pass to `m4-program'." + :type '(repeat string) + :group 'm4) + ;;to use --prefix-builtins, you can use ;;(defconst m4-program-options '("-P")) ;;or @@ -69,6 +81,11 @@ "Default font-lock-keywords for m4 mode.") ) +(defcustom m4-mode-hook nil + "*Hook called by `m4-mode'." + :type 'hook + :group 'm4) + ;;this may still need some work (defvar m4-mode-syntax-table nil "syntax table used in m4 mode") |