]> code.delx.au - gnu-emacs/commitdiff
(add-log-time-zone-rule): Mark as safe-local-variable.
authorReiner Steib <Reiner.Steib@gmx.de>
Sun, 5 Nov 2006 19:29:02 +0000 (19:29 +0000)
committerReiner Steib <Reiner.Steib@gmx.de>
Sun, 5 Nov 2006 19:29:02 +0000 (19:29 +0000)
lisp/ChangeLog
lisp/add-log.el

index ea0736357f5fa5905ac8d693215ca66cb6091d69..adde4eb180f1000cee5d1edc5e5daba0284f716a 100644 (file)
@@ -1,3 +1,7 @@
+2006-11-05  Reiner Steib  <Reiner.Steib@gmx.de>
+
+       * add-log.el (add-log-time-zone-rule): Mark as safe-local-variable.
+
 2006-11-05  Chong Yidong  <cyd@stupidchicken.com>
 
        * startup.el (command-line-1): Kill emacs if the last frame is
index d60f920244a9865c39a038d2fe771bdd367765ed..a1208d5fdd64fd26c2ec86877d96c79884da480a 100644 (file)
@@ -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))