summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2007-08-17 22:18:54 +0000
committerThien-Thi Nguyen <ttn@gnuvola.org>2007-08-17 22:18:54 +0000
commit18e08bf7a2b62a19ab0cb018c133907dfab78560 (patch)
tree614e42f66065920fa8d15e2fdc5dfd17af02f0b7 /lisp/emacs-lisp
parent4168d2c761ffb634147d545cbba3da8d923110ee (diff)
downloademacs-18e08bf7a2b62a19ab0cb018c133907dfab78560.tar.gz
emacs-18e08bf7a2b62a19ab0cb018c133907dfab78560.tar.bz2
emacs-18e08bf7a2b62a19ab0cb018c133907dfab78560.zip
(copyright-limit): Fix sense typo in defsubst.
Diffstat (limited to 'lisp/emacs-lisp')
-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