Mercurial > emacs
comparison lisp/add-log.el @ 27310:ed290e5a5b17
(add-change-log-entry): Fix error trying an `(insert nil)'.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 12 Jan 2000 14:14:36 +0000 |
parents | 8afd998ab3b2 |
children | c11a0bbb5c88 |
comparison
equal
deleted
inserted
replaced
27309:1236d96bd8c9 | 27310:ed290e5a5b17 |
---|---|
486 (if (not (save-excursion | 486 (if (not (save-excursion |
487 (beginning-of-line 1) | 487 (beginning-of-line 1) |
488 (looking-at "\\s *\\(\\*\\s *\\)?$"))) | 488 (looking-at "\\s *\\(\\*\\s *\\)?$"))) |
489 (insert ": " | 489 (insert ": " |
490 (if version | 490 (if version |
491 (concat version " ") )))))) | 491 (concat version " ") "")))))) |
492 | 492 |
493 ;;;###autoload | 493 ;;;###autoload |
494 (defun add-change-log-entry-other-window (&optional whoami file-name) | 494 (defun add-change-log-entry-other-window (&optional whoami file-name) |
495 "Find change log file in other window and add an entry for today. | 495 "Find change log file in other window and add an entry for today. |
496 Optional arg WHOAMI (interactive prefix) non-nil means prompt for user | 496 Optional arg WHOAMI (interactive prefix) non-nil means prompt for user |