# HG changeset patch # User Juanma Barranquero # Date 1231347575 0 # Node ID 534e78fa321111afa6f325cb95a051d1447cce9f # Parent 1e4a0e253e3ab6a0ae694194676e966c62290092 * add-log.el (change-log-search-tag-name): Reflow docstring. (change-log-mode): Fix typo in docstring. diff -r 1e4a0e253e3a -r 534e78fa3211 lisp/ChangeLog --- a/lisp/ChangeLog Wed Jan 07 14:24:29 2009 +0000 +++ b/lisp/ChangeLog Wed Jan 07 16:59:35 2009 +0000 @@ -1,5 +1,8 @@ 2009-01-07 Juanma Barranquero + * add-log.el (change-log-search-tag-name): Reflow docstring. + (change-log-mode): Fix typo in docstring. + * international/mule.el (define-coding-system): Doc fix. 2009-01-07 Kenichi Handa diff -r 1e4a0e253e3a -r 534e78fa3211 lisp/add-log.el --- a/lisp/add-log.el Wed Jan 07 14:24:29 2009 +0000 +++ b/lisp/add-log.el Wed Jan 07 16:59:35 2009 +0000 @@ -162,7 +162,7 @@ :group 'change-log) (defcustom change-log-version-number-regexp-list - (let ((re "\\([0-9]+\.[0-9.]+\\)")) + (let ((re "\\([0-9]+\.[0-9.]+\\)")) (list ;; (defconst ad-version "2.15" (concat "^(def[^ \t\n]+[ \t]+[^ \t\n][ \t]\"" re) @@ -305,7 +305,7 @@ (match-string-no-properties 2) ;; Look backwards for either a file name or the log entry start. (if (re-search-backward - (concat "\\(" change-log-start-entry-re + (concat "\\(" change-log-start-entry-re "\\)\\|\\(" change-log-file-names-re "\\)") nil t) (if (match-beginning 1) @@ -351,8 +351,8 @@ (defun change-log-search-tag-name (&optional at) "Search for a tag name near `point'. -Optional argument AT non-nil means search near buffer position -AT. Return value is a cons whose car is the string representing +Optional argument AT non-nil means search near buffer position AT. +Return value is a cons whose car is the string representing the tag and whose cdr is the position where the tag was found." (save-excursion (goto-char (setq at (or at (point)))) @@ -1007,12 +1007,12 @@ ;;;###autoload (define-derived-mode change-log-mode text-mode "Change Log" - "Major mode for editing change logs; like Indented Text Mode. + "Major mode for editing change logs; like Indented Text mode. Prevents numeric backups and sets `left-margin' to 8 and `fill-column' to 74. New log entries are usually made with \\[add-change-log-entry] or \\[add-change-log-entry-other-window]. Each entry behaves as a paragraph, and the entries for one day as a page. Runs `change-log-mode-hook'. -\\{change-log-mode-map}" +\n\\{change-log-mode-map}" (setq left-margin 8 fill-column 74 indent-tabs-mode t @@ -1045,9 +1045,9 @@ '(change-log-font-lock-keywords t nil nil backward-paragraph)) (set (make-local-variable 'multi-isearch-next-buffer-function) 'change-log-next-buffer) - (set (make-local-variable 'beginning-of-defun-function) + (set (make-local-variable 'beginning-of-defun-function) 'change-log-beginning-of-defun) - (set (make-local-variable 'end-of-defun-function) + (set (make-local-variable 'end-of-defun-function) 'change-log-end-of-defun) ;; next-error function glue (setq next-error-function 'change-log-next-error)