mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
[fixing previous change]
(change-log-mode-map): Don't bind M-q. (change-log-mode): Set fill-paragraph-function instead.
This commit is contained in:
parent
d6749f8f3d
commit
45c50c5ded
1 changed files with 7 additions and 0 deletions
|
|
@ -52,6 +52,12 @@ This defaults to the value of `user-mail-address'.")
|
|||
("(\\([^)\n]+\\)):" 1 font-lock-keyword-face)) ; Function name.
|
||||
"Additional expressions to highlight in Change Log mode.")
|
||||
|
||||
(defvar change-log-mode-map nil
|
||||
"Keymap for Change Log major mode.")
|
||||
(if change-log-mode-map
|
||||
nil
|
||||
(setq change-log-mode-map (make-sparse-keymap)))
|
||||
|
||||
(defun change-log-name ()
|
||||
(or change-log-default-name
|
||||
(if (eq system-type 'vax-vms)
|
||||
|
|
@ -278,6 +284,7 @@ Runs `change-log-mode-hook'."
|
|||
fill-column 74
|
||||
indent-tabs-mode t
|
||||
tab-width 8)
|
||||
(use-local-map change-log-mode-map)
|
||||
(set (make-local-variable 'fill-paragraph-function)
|
||||
'change-log-fill-paragraph)
|
||||
;; Let each entry behave as one paragraph:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue