From: Juanma Barranquero Date: Mon, 31 Mar 2008 00:04:49 +0000 (+0000) Subject: (hi-lock-mode): Fix typos in docstring. X-Git-Tag: emacs-pretest-23.0.90~6762 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=869d3e173381ba313de0d2fc9cde30bcbd12e480;p=emacs.git (hi-lock-mode): Fix typos in docstring. (hi-lock-unload-function): New function. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 02aa6a91f70..8fe99b3d0a0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2008-03-30 Juanma Barranquero + + * hi-lock.el (hi-lock-mode): Fix typos in docstring. + (hi-lock-unload-function): New function. + 2008-03-30 Michael Albinus * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el index 96c4749cf2a..ac70d0d845b 100644 --- a/lisp/hi-lock.el +++ b/lisp/hi-lock.el @@ -310,8 +310,8 @@ called interactively, are: be read the next time file is loaded or when the \\[hi-lock-find-patterns] command is issued. The inserted regexps are in the form of font lock keywords. (See `font-lock-keywords'.) They may be edited and re-loaded with \\[hi-lock-find-patterns], - any valid `font-lock-keywords' form is acceptable. When a file is - loaded the patterns are read if `hi-lock-file-patterns-policy is + any valid `font-lock-keywords' form is acceptable. When a file is + loaded the patterns are read if `hi-lock-file-patterns-policy' is 'ask and the user responds y to the prompt, or if `hi-lock-file-patterns-policy' is bound to a function and that function returns t. @@ -659,6 +659,12 @@ A string is considered new if it had not previously been used in a call to hi-lock-string-serialize-hash) hi-lock-string-serialize-serial))) +(defun hi-lock-unload-function () + "Unload the Hi-Lock library." + (global-hi-lock-mode -1) + ;; continue standard unloading + nil) + (provide 'hi-lock) ;; arch-tag: d2e8fd07-4cc9-4c6f-a200-1e729bc54066