mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* lisp/vc/add-log.el (change-log-next-buffer): Check file for nil.
This commit is contained in:
parent
afba4ccb8b
commit
b3fb0d47c1
1 changed files with 1 additions and 1 deletions
|
|
@ -1095,7 +1095,7 @@ file were isearch was started."
|
|||
;; If there are no files that match the default pattern ChangeLog.[0-9],
|
||||
;; return the current buffer to force isearch wrapping to its beginning.
|
||||
;; If file is nil, multi-isearch-search-fun will signal "end of multi".
|
||||
(if (file-exists-p file)
|
||||
(if (and file (file-exists-p file))
|
||||
(find-file-noselect file)
|
||||
(current-buffer))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue