(change-log-default-name): Put `string-or-null-p'
authorJuri Linkov <juri@jurta.org>
Tue, 9 May 2006 22:58:54 +0000 (22:58 +0000)
committerJuri Linkov <juri@jurta.org>
Tue, 9 May 2006 22:58:54 +0000 (22:58 +0000)
instead of lambda on `safe-local-variable' property.

lisp/add-log.el

index 47a839d..393a696 100644 (file)
@@ -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'."