diff options
author | Reiner Steib <Reiner.Steib@gmx.de> | 2006-04-06 19:20:38 +0000 |
---|---|---|
committer | Reiner Steib <Reiner.Steib@gmx.de> | 2006-04-06 19:20:38 +0000 |
commit | 3e45722587c5b1e9ccd306d073a1141e44a98263 (patch) | |
tree | 0735f29ab4af6d32b8004cac6a365645495701c4 /lisp/textmodes/paragraphs.el | |
parent | 077b72a485911714fc9b30fd7f76e8ffc6b3842e (diff) | |
download | emacs-3e45722587c5b1e9ccd306d073a1141e44a98263.tar.gz |
* subr.el (string-or-null-p): New function.
* textmodes/paragraphs.el (sentence-end): Use string-or-null-p.
* textmodes/ispell.el (ispell-local-dictionary): Use
string-or-null-p.
* files.el: Update comment about safe-local-variable declarations.
Diffstat (limited to 'lisp/textmodes/paragraphs.el')
-rw-r--r-- | lisp/textmodes/paragraphs.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el index c62f337e456..6693be4e0c9 100644 --- a/lisp/textmodes/paragraphs.el +++ b/lisp/textmodes/paragraphs.el @@ -163,7 +163,7 @@ function `sentence-end'. You should always use this function to obtain the value of this variable." :group 'paragraphs :type '(choice regexp (const :tag "Use default value" nil))) -;;;###autoload(put 'sentence-end 'safe-local-variable (lambda (a) (or (stringp a) (null a)))) +;;;###autoload(put 'sentence-end 'safe-local-variable 'string-or-null-p) (defcustom sentence-end-base "[.?!][]\"'$B!I$,1r}(B)}]*" "*Regexp matching the basic end of a sentence, not including following space." |