changeset 70541:62bb603c277b

(change-log-default-name): Put `string-or-null-p' instead of lambda on `safe-local-variable' property.
author Juri Linkov <juri@jurta.org>
date Tue, 09 May 2006 22:58:54 +0000
parents b0678252450c
children ef7506f44a3a
files lisp/add-log.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/add-log.el	Tue May 09 22:55:30 2006 +0000
+++ b/lisp/add-log.el	Tue May 09 22:58:54 2006 +0000
@@ -45,8 +45,7 @@
   :type '(choice (const :tag "default" nil)
 		 string)
   :group 'change-log)
-(put 'change-log-default-name 'safe-local-variable
-     (lambda (a) (or (stringp a) (null a))))
+(put 'change-log-default-name 'safe-local-variable 'string-or-null-p)
 
 (defcustom change-log-mode-hook nil
   "Normal hook run by `change-log-mode'."