From d52c204b13ded3a143f418264da06865c4f1132c Mon Sep 17 00:00:00 2001 From: Reiner Steib Date: Sun, 5 Nov 2006 19:29:02 +0000 Subject: [PATCH] (add-log-time-zone-rule): Mark as safe-local-variable. --- lisp/ChangeLog | 4 ++++ lisp/add-log.el | 2 ++ 2 files changed, 6 insertions(+) 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)) -- 2.39.2