changeset 73719:f172c9540c9c

(add-log-time-zone-rule): Mark as safe-local-variable.
author Reiner Steib <Reiner.Steib@gmx.de>
date Sun, 05 Nov 2006 19:29:02 +0000
parents 6ae938f52efb
children 365d2ceb2a2e
files lisp/ChangeLog lisp/add-log.el
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Nov 05 17:38:04 2006 +0000
+++ b/lisp/ChangeLog	Sun Nov 05 19:29:02 2006 +0000
@@ -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
--- a/lisp/add-log.el	Sun Nov 05 17:38:04 2006 +0000
+++ b/lisp/add-log.el	Sun Nov 05 19:29:02 2006 +0000
@@ -293,6 +293,8 @@
 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))