projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afba4cc
)
* lisp/vc/add-log.el (change-log-next-buffer): Check file for nil.
author
Juri Linkov
<juri@linkov.net>
Sun, 21 Jan 2018 21:48:32 +0000
(23:48 +0200)
committer
Juri Linkov
<juri@linkov.net>
Sun, 21 Jan 2018 21:48:32 +0000
(23:48 +0200)
lisp/vc/add-log.el
patch
|
blob
|
history
diff --git
a/lisp/vc/add-log.el
b/lisp/vc/add-log.el
index ec9299a947abac8b4f3568119ead1a8083583f4b..ea2e8ec874a24655541e3cb27114fc8ce2e51f0c 100644
(file)
--- a/
lisp/vc/add-log.el
+++ b/
lisp/vc/add-log.el
@@
-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))))