From: Reiner Steib Date: Sun, 5 Nov 2006 19:29:02 +0000 (+0000) Subject: (add-log-time-zone-rule): Mark as safe-local-variable. X-Git-Tag: emacs-pretest-22.0.91~312 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d52c204b13ded3a143f418264da06865c4f1132c;p=emacs.git (add-log-time-zone-rule): Mark as safe-local-variable. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ea0736357f5..adde4eb180f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2006-11-05 Reiner Steib + + * add-log.el (add-log-time-zone-rule): Mark as safe-local-variable. + 2006-11-05 Chong Yidong * startup.el (command-line-1): Kill emacs if the last frame is diff --git a/lisp/add-log.el b/lisp/add-log.el index d60f920244a..a1208d5fdd6 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el @@ -293,6 +293,8 @@ Note: The search is conducted only within 10%, at the beginning of the file." It takes the same format as the TZ argument of `set-time-zone-rule'. If nil, use local time. If t, use universal time.") +(put 'add-log-time-zone-rule 'safe-local-variable + '(lambda (x) (or (booleanp x) (stringp x)))) (defun add-log-iso8601-time-zone (&optional time) (let* ((utc-offset (or (car (current-time-zone time)) 0))