# HG changeset patch # User Reiner Steib # Date 1162754942 0 # Node ID f172c9540c9ce377d6a09be7bfc46817e30c1107 # Parent 6ae938f52efbfdcb17aa03e46af012cbafbf6496 (add-log-time-zone-rule): Mark as safe-local-variable. diff -r 6ae938f52efb -r f172c9540c9c lisp/ChangeLog --- 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 + + * 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 -r 6ae938f52efb -r f172c9540c9c lisp/add-log.el --- 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))