aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-10-13 03:29:22 +0000
committerRichard M. Stallman1994-10-13 03:29:22 +0000
commitdab0cb956404af13e6201bf641b54cffab5d0166 (patch)
tree1336e427643191f65e674491975b8f075e4cd7c0
parent908477d9d301d4bc487aea02c8b2bc8681ffb960 (diff)
downloademacs-dab0cb956404af13e6201bf641b54cffab5d0166.tar.gz
emacs-dab0cb956404af13e6201bf641b54cffab5d0166.zip
(change-log-mode-map): Move the definition up.
-rw-r--r--lisp/add-log.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el
index 0012f9f4d1f..b7557b0150a 100644
--- a/lisp/add-log.el
+++ b/lisp/add-log.el
@@ -49,6 +49,13 @@ This defaults to the value of `user-mail-address'.")
49 ("\(\\([^)\n]+\\)\)" 1 font-lock-keyword-face)) ; Function name. 49 ("\(\\([^)\n]+\\)\)" 1 font-lock-keyword-face)) ; Function name.
50 "Additional expressions to highlight in Change Log mode.") 50 "Additional expressions to highlight in Change Log mode.")
51 51
52(defvar change-log-mode-map nil
53 "Keymap for Change Log major mode.")
54(if change-log-mode-map
55 nil
56 (setq change-log-mode-map (make-sparse-keymap))
57 (define-key change-log-mode-map "\M-q" 'change-log-fill-paragraph))
58
52(defun change-log-name () 59(defun change-log-name ()
53 (or change-log-default-name 60 (or change-log-default-name
54 (if (eq system-type 'vax-vms) 61 (if (eq system-type 'vax-vms)
@@ -269,13 +276,6 @@ Runs `change-log-mode-hook'."
269 '(change-log-font-lock-keywords t)) 276 '(change-log-font-lock-keywords t))
270 (run-hooks 'change-log-mode-hook)) 277 (run-hooks 'change-log-mode-hook))
271 278
272(defvar change-log-mode-map nil
273 "Keymap for Change Log major mode.")
274(if change-log-mode-map
275 nil
276 (setq change-log-mode-map (make-sparse-keymap))
277 (define-key change-log-mode-map "\M-q" 'change-log-fill-paragraph))
278
279;; It might be nice to have a general feature to replace this. The idea I 279;; It might be nice to have a general feature to replace this. The idea I
280;; have is a variable giving a regexp matching text which should not be 280;; have is a variable giving a regexp matching text which should not be
281;; moved from bol by filling. change-log-mode would set this to "^\\s *\\s(". 281;; moved from bol by filling. change-log-mode would set this to "^\\s *\\s(".