diff options
author | Glenn Morris <rgm@gnu.org> | 2008-04-22 02:54:59 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2008-04-22 02:54:59 +0000 |
commit | 8bb4ed88c3cfcd4d6079cdc12dccac1c81fd0885 (patch) | |
tree | fce453ffc22cb84ceed578b0487df075cbc138e2 /lisp/add-log.el | |
parent | b2c7c56d5793fa4099f60acf3e697540deb0cc9b (diff) |
(top-level): Require 'cl when compiling.
(change-log-mode): Set copyright-at-end-flag.
Diffstat (limited to 'lisp/add-log.el')
-rw-r--r-- | lisp/add-log.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el index 78077e220bd..6ef369d20ef 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el @@ -39,6 +39,7 @@ ;;; Code: (eval-when-compile + (require 'cl) ; ignore-errors (require 'timezone)) (defgroup change-log nil @@ -764,6 +765,7 @@ the change log file in another window." (defvar smerge-resolve-function) +(defvar copyright-at-end-flag) ;;;###autoload (define-derived-mode change-log-mode text-mode "Change Log" @@ -783,10 +785,11 @@ Runs `change-log-mode-hook'. ;; Avoid that filling leaves behind a single "*" on a line. (add-hook 'fill-nobreak-predicate '(lambda () - (looking-back "^\\s *\\*\\s *" (line-beginning-position))) + (looking-back "^\\s *\\*\\s *" (line-beginning-position))) nil t) (set (make-local-variable 'indent-line-function) 'change-log-indent) (set (make-local-variable 'tab-always-indent) nil) + (set (make-local-variable 'copyright-at-end-flag) t) ;; We really do want "^" in paragraph-start below: it is only the ;; lines that begin at column 0 (despite the left-margin of 8) that ;; we are looking for. Adding `* ' allows eliding the blank line |