+2007-08-17 Kimit Yada <kimitto@gmail.com> (tiny change)
+
+ * emacs-lisp/copyright.el (copyright-update-year):
+ Fix bug: Handle nil copyright-limit.
+
2007-08-17 Jay Belanger <jay.p.belanger@gmail.com>
* calc/calc-units.el (math-standard-units): Give exact
(re-search-forward (concat "\\(" copyright-regexp
"\\)\\([ \t]*\n\\)?.*\\(?:"
copyright-names-regexp "\\)")
- (if copyright-limit (+ (point) copyright-limit))
+ (if copyright-limit
+ (+ (point) copyright-limit)
+ t)
t)
;; In case the regexp is rejected. This is useful because
;; copyright-update is typically called from before-save-hook where