From: Juri Linkov Date: Tue, 9 May 2006 22:58:54 +0000 (+0000) Subject: (change-log-default-name): Put `string-or-null-p' X-Git-Tag: emacs-pretest-22.0.90~2664 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=10b35c39d0036d0df171a5b5de44f0d27823b46d;p=emacs.git (change-log-default-name): Put `string-or-null-p' instead of lambda on `safe-local-variable' property. --- diff --git a/lisp/add-log.el b/lisp/add-log.el index 47a839d539d..393a696d3f1 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el @@ -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'."