summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/copyright.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp/copyright.el')
-rw-r--r--lisp/emacs-lisp/copyright.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el
index fc6ff213c6f..cc392a36f04 100644
--- a/lisp/emacs-lisp/copyright.el
+++ b/lisp/emacs-lisp/copyright.el
@@ -91,8 +91,7 @@ When this is `function', only ask when called non-interactively."
"String representing the current year.")
(defsubst copyright-limit () ; re-search-forward BOUND
- (or (not copyright-limit)
- (+ (point) copyright-limit)))
+ (and copyright-limit (+ (point) copyright-limit)))
(defun copyright-update-year (replace noquery)
(when