diff options
| author | Juri Linkov | 2008-07-23 23:51:42 +0000 |
|---|---|---|
| committer | Juri Linkov | 2008-07-23 23:51:42 +0000 |
| commit | e50fa43e8fb86f9be0cb87644be0bd81728972fc (patch) | |
| tree | d42f773a1ac42ae0663174f8290a626ecd5948dd | |
| parent | 3c0aa5e65b9dd3fb38ce095683423b072e42c1bd (diff) | |
| download | emacs-e50fa43e8fb86f9be0cb87644be0bd81728972fc.tar.gz emacs-e50fa43e8fb86f9be0cb87644be0bd81728972fc.zip | |
(change-log-mode): Set `change-log-next-buffer' to
`multi-isearch-next-buffer-function' instead of
`isearch-buffers-next-buffer-function'. Remove call to
`isearch-buffers-minor-mode'.
| -rw-r--r-- | lisp/add-log.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el index 85293b2ec68..e344c0f5dd1 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el | |||
| @@ -994,13 +994,12 @@ Runs `change-log-mode-hook'. | |||
| 994 | (set (make-local-variable 'adaptive-fill-regexp) "\\s *") | 994 | (set (make-local-variable 'adaptive-fill-regexp) "\\s *") |
| 995 | (set (make-local-variable 'font-lock-defaults) | 995 | (set (make-local-variable 'font-lock-defaults) |
| 996 | '(change-log-font-lock-keywords t nil nil backward-paragraph)) | 996 | '(change-log-font-lock-keywords t nil nil backward-paragraph)) |
| 997 | (set (make-local-variable 'isearch-buffers-next-buffer-function) | 997 | (set (make-local-variable 'multi-isearch-next-buffer-function) |
| 998 | 'change-log-next-buffer) | 998 | 'change-log-next-buffer) |
| 999 | (set (make-local-variable 'beginning-of-defun-function) | 999 | (set (make-local-variable 'beginning-of-defun-function) |
| 1000 | 'change-log-beginning-of-defun) | 1000 | 'change-log-beginning-of-defun) |
| 1001 | (set (make-local-variable 'end-of-defun-function) | 1001 | (set (make-local-variable 'end-of-defun-function) |
| 1002 | 'change-log-end-of-defun) | 1002 | 'change-log-end-of-defun)) |
| 1003 | (isearch-buffers-minor-mode)) | ||
| 1004 | 1003 | ||
| 1005 | (defun change-log-next-buffer (&optional buffer wrap) | 1004 | (defun change-log-next-buffer (&optional buffer wrap) |
| 1006 | "Return the next buffer in the series of ChangeLog file buffers. | 1005 | "Return the next buffer in the series of ChangeLog file buffers. |