diff options
| author | Karl Heuer | 1996-08-20 19:11:55 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-08-20 19:11:55 +0000 |
| commit | 60f10a06e17d4d020a6b5dc068132e8680f0a4dd (patch) | |
| tree | b37310102dd670e8839407f3bbbed290202c0581 | |
| parent | 950086e6eb3c1ceb84a8d0a6f4f30f76b6f56f11 (diff) | |
| download | emacs-60f10a06e17d4d020a6b5dc068132e8680f0a4dd.tar.gz emacs-60f10a06e17d4d020a6b5dc068132e8680f0a4dd.zip | |
(change-log-mode): Set fill-paragraph-function.
(change-log-mode-map): Deleted; no bindings left.
| -rw-r--r-- | lisp/add-log.el | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el index c6974583e66..84ea0c71024 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el | |||
| @@ -52,13 +52,6 @@ This defaults to the value of `user-mail-address'.") | |||
| 52 | ("(\\([^)\n]+\\)):" 1 font-lock-keyword-face)) ; Function name. | 52 | ("(\\([^)\n]+\\)):" 1 font-lock-keyword-face)) ; Function name. |
| 53 | "Additional expressions to highlight in Change Log mode.") | 53 | "Additional expressions to highlight in Change Log mode.") |
| 54 | 54 | ||
| 55 | (defvar change-log-mode-map nil | ||
| 56 | "Keymap for Change Log major mode.") | ||
| 57 | (if change-log-mode-map | ||
| 58 | nil | ||
| 59 | (setq change-log-mode-map (make-sparse-keymap)) | ||
| 60 | (define-key change-log-mode-map "\M-q" 'change-log-fill-paragraph)) | ||
| 61 | |||
| 62 | (defun change-log-name () | 55 | (defun change-log-name () |
| 63 | (or change-log-default-name | 56 | (or change-log-default-name |
| 64 | (if (eq system-type 'vax-vms) | 57 | (if (eq system-type 'vax-vms) |
| @@ -283,9 +276,10 @@ Runs `change-log-mode-hook'." | |||
| 283 | mode-name "Change Log" | 276 | mode-name "Change Log" |
| 284 | left-margin 8 | 277 | left-margin 8 |
| 285 | fill-column 74 | 278 | fill-column 74 |
| 286 | indent-tabs-mode t | 279 | indent-tabs-mode t |
| 287 | tab-width 8) | 280 | tab-width 8) |
| 288 | (use-local-map change-log-mode-map) | 281 | (set (make-local-variable 'fill-paragraph-function) |
| 282 | 'change-log-fill-paragraph) | ||
| 289 | ;; Let each entry behave as one paragraph: | 283 | ;; Let each entry behave as one paragraph: |
| 290 | ;; We really do want "^" in paragraph-start below: it is only the lines that | 284 | ;; We really do want "^" in paragraph-start below: it is only the lines that |
| 291 | ;; begin at column 0 (despite the left-margin of 8) that we are looking for. | 285 | ;; begin at column 0 (despite the left-margin of 8) that we are looking for. |