1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-01 20:06:00 +00:00

(hi-lock-mode): Fix typos in docstring.

(hi-lock-unload-function): New function.
This commit is contained in:
Juanma Barranquero 2008-03-31 00:04:49 +00:00
parent 087f455671
commit 869d3e1733
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-03-30 Juanma Barranquero <lekktu@gmail.com>
* hi-lock.el (hi-lock-mode): Fix typos in docstring.
(hi-lock-unload-function): New function.
2008-03-30 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-do-copy-or-rename-file): Fix check for

View File

@ -311,7 +311,7 @@ called interactively, are:
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
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