From: Thien-Thi Nguyen Date: Fri, 17 Aug 2007 22:18:54 +0000 (+0000) Subject: (copyright-limit): Fix sense typo in defsubst. X-Git-Tag: emacs-pretest-23.0.90~11459 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=18e08bf7a2b62a19ab0cb018c133907dfab78560;p=emacs.git (copyright-limit): Fix sense typo in defsubst. --- 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