diff options
| author | Juanma Barranquero | 2009-01-07 16:59:35 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2009-01-07 16:59:35 +0000 |
| commit | eb9c16e548379c3d83f621ef533d8d46c58101ab (patch) | |
| tree | 4007259966513798e256e9a2d871abcf7172c9d8 | |
| parent | ed039e6c297cdf9b4ac4d633ad0ec6db8e194bf5 (diff) | |
| download | emacs-eb9c16e548379c3d83f621ef533d8d46c58101ab.tar.gz emacs-eb9c16e548379c3d83f621ef533d8d46c58101ab.zip | |
* add-log.el (change-log-search-tag-name): Reflow docstring.
(change-log-mode): Fix typo in docstring.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/add-log.el | 16 |
2 files changed, 11 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4e0b914d657..e7622350fbf 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2009-01-07 Juanma Barranquero <lekktu@gmail.com> | 1 | 2009-01-07 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 2 | ||
| 3 | * add-log.el (change-log-search-tag-name): Reflow docstring. | ||
| 4 | (change-log-mode): Fix typo in docstring. | ||
| 5 | |||
| 3 | * international/mule.el (define-coding-system): Doc fix. | 6 | * international/mule.el (define-coding-system): Doc fix. |
| 4 | 7 | ||
| 5 | 2009-01-07 Kenichi Handa <handa@m17n.org> | 8 | 2009-01-07 Kenichi Handa <handa@m17n.org> |
diff --git a/lisp/add-log.el b/lisp/add-log.el index d7a00f090e9..00e31723765 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el | |||
| @@ -162,7 +162,7 @@ use the file's name relative to the directory of the change log file." | |||
| 162 | :group 'change-log) | 162 | :group 'change-log) |
| 163 | 163 | ||
| 164 | (defcustom change-log-version-number-regexp-list | 164 | (defcustom change-log-version-number-regexp-list |
| 165 | (let ((re "\\([0-9]+\.[0-9.]+\\)")) | 165 | (let ((re "\\([0-9]+\.[0-9.]+\\)")) |
| 166 | (list | 166 | (list |
| 167 | ;; (defconst ad-version "2.15" | 167 | ;; (defconst ad-version "2.15" |
| 168 | (concat "^(def[^ \t\n]+[ \t]+[^ \t\n][ \t]\"" re) | 168 | (concat "^(def[^ \t\n]+[ \t]+[^ \t\n][ \t]\"" re) |
| @@ -305,7 +305,7 @@ Note: The search is conducted only within 10%, at the beginning of the file." | |||
| 305 | (match-string-no-properties 2) | 305 | (match-string-no-properties 2) |
| 306 | ;; Look backwards for either a file name or the log entry start. | 306 | ;; Look backwards for either a file name or the log entry start. |
| 307 | (if (re-search-backward | 307 | (if (re-search-backward |
| 308 | (concat "\\(" change-log-start-entry-re | 308 | (concat "\\(" change-log-start-entry-re |
| 309 | "\\)\\|\\(" | 309 | "\\)\\|\\(" |
| 310 | change-log-file-names-re "\\)") nil t) | 310 | change-log-file-names-re "\\)") nil t) |
| 311 | (if (match-beginning 1) | 311 | (if (match-beginning 1) |
| @@ -351,8 +351,8 @@ the tag was found." | |||
| 351 | 351 | ||
| 352 | (defun change-log-search-tag-name (&optional at) | 352 | (defun change-log-search-tag-name (&optional at) |
| 353 | "Search for a tag name near `point'. | 353 | "Search for a tag name near `point'. |
| 354 | Optional argument AT non-nil means search near buffer position | 354 | Optional argument AT non-nil means search near buffer position AT. |
| 355 | AT. Return value is a cons whose car is the string representing | 355 | Return value is a cons whose car is the string representing |
| 356 | the tag and whose cdr is the position where the tag was found." | 356 | the tag and whose cdr is the position where the tag was found." |
| 357 | (save-excursion | 357 | (save-excursion |
| 358 | (goto-char (setq at (or at (point)))) | 358 | (goto-char (setq at (or at (point)))) |
| @@ -1007,12 +1007,12 @@ the change log file in another window." | |||
| 1007 | 1007 | ||
| 1008 | ;;;###autoload | 1008 | ;;;###autoload |
| 1009 | (define-derived-mode change-log-mode text-mode "Change Log" | 1009 | (define-derived-mode change-log-mode text-mode "Change Log" |
| 1010 | "Major mode for editing change logs; like Indented Text Mode. | 1010 | "Major mode for editing change logs; like Indented Text mode. |
| 1011 | Prevents numeric backups and sets `left-margin' to 8 and `fill-column' to 74. | 1011 | Prevents numeric backups and sets `left-margin' to 8 and `fill-column' to 74. |
| 1012 | New log entries are usually made with \\[add-change-log-entry] or \\[add-change-log-entry-other-window]. | 1012 | New log entries are usually made with \\[add-change-log-entry] or \\[add-change-log-entry-other-window]. |
| 1013 | Each entry behaves as a paragraph, and the entries for one day as a page. | 1013 | Each entry behaves as a paragraph, and the entries for one day as a page. |
| 1014 | Runs `change-log-mode-hook'. | 1014 | Runs `change-log-mode-hook'. |
| 1015 | \\{change-log-mode-map}" | 1015 | \n\\{change-log-mode-map}" |
| 1016 | (setq left-margin 8 | 1016 | (setq left-margin 8 |
| 1017 | fill-column 74 | 1017 | fill-column 74 |
| 1018 | indent-tabs-mode t | 1018 | indent-tabs-mode t |
| @@ -1045,9 +1045,9 @@ Runs `change-log-mode-hook'. | |||
| 1045 | '(change-log-font-lock-keywords t nil nil backward-paragraph)) | 1045 | '(change-log-font-lock-keywords t nil nil backward-paragraph)) |
| 1046 | (set (make-local-variable 'multi-isearch-next-buffer-function) | 1046 | (set (make-local-variable 'multi-isearch-next-buffer-function) |
| 1047 | 'change-log-next-buffer) | 1047 | 'change-log-next-buffer) |
| 1048 | (set (make-local-variable 'beginning-of-defun-function) | 1048 | (set (make-local-variable 'beginning-of-defun-function) |
| 1049 | 'change-log-beginning-of-defun) | 1049 | 'change-log-beginning-of-defun) |
| 1050 | (set (make-local-variable 'end-of-defun-function) | 1050 | (set (make-local-variable 'end-of-defun-function) |
| 1051 | 'change-log-end-of-defun) | 1051 | 'change-log-end-of-defun) |
| 1052 | ;; next-error function glue | 1052 | ;; next-error function glue |
| 1053 | (setq next-error-function 'change-log-next-error) | 1053 | (setq next-error-function 'change-log-next-error) |