diff options
Diffstat (limited to 'lisp/add-log.el')
-rw-r--r-- | lisp/add-log.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el index 19a537fc0da..85293b2ec68 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el @@ -500,7 +500,7 @@ comma-separated list." (tag (car tag-at)) (file (when tag-at (change-log-search-file-name (cdr tag-at))))) - (if (not tag) + (if (or (not tag) (not file)) (error "No suitable tag near `point'") (setq change-log-find-head (list tag (concat "\\_<" (regexp-quote tag) "\\_>") |