diff options
author | Reiner Steib <Reiner.Steib@gmx.de> | 2006-11-05 19:29:02 +0000 |
---|---|---|
committer | Reiner Steib <Reiner.Steib@gmx.de> | 2006-11-05 19:29:02 +0000 |
commit | d52c204b13ded3a143f418264da06865c4f1132c (patch) | |
tree | bd49682d63d5b15be60f8f19a0c7f279ba1a43dc /lisp/add-log.el | |
parent | 89723b88b60ac7b7da19b7baab2ef6faeee7ece4 (diff) | |
download | emacs-d52c204b13ded3a143f418264da06865c4f1132c.tar.gz |
(add-log-time-zone-rule): Mark as safe-local-variable.
Diffstat (limited to 'lisp/add-log.el')
-rw-r--r-- | lisp/add-log.el | 2 |
1 files changed, 2 insertions, 0 deletions
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)) |