emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS commits and logs


From: Reiner Steib
Subject: Re: CVS commits and logs
Date: Sat, 04 Nov 2006 17:06:41 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.90 (gnu/linux)

On Sat, Nov 04 2006, Juanma Barranquero wrote:

> Well, there's the issue of being asked whether it is a safe local
> variable (hmm... is `add-log-time-zone-rule' ever an unsafe local
> variable?)

Independent of whether or not we add `add-log-time-zone-rule' to Emacs
ChangeLog files, I think we should mark it as safe.

--8<---------------cut here---------------start------------->8---
--- add-log.el  26 Sep 2006 20:28:58 +0200      1.178
+++ add-log.el  04 Nov 2006 16:54:06 +0100      
@@ -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))
--8<---------------cut here---------------end--------------->8---

Okay to install?

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]