(add-log-time-zone-rule): Mark as safe-local-variable.

This commit is contained in:
Reiner Steib 2006-11-05 19:29:02 +00:00
parent 89723b88b6
commit d52c204b13
2 changed files with 6 additions and 0 deletions

View 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

View 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))