aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2008-03-31 00:04:49 +0000
committerJuanma Barranquero2008-03-31 00:04:49 +0000
commit869d3e173381ba313de0d2fc9cde30bcbd12e480 (patch)
tree2059bc918ee87d91112ada466be2529a69b87127
parent087f4556711963cdf5924f5229c0572b6861b1c1 (diff)
downloademacs-869d3e173381ba313de0d2fc9cde30bcbd12e480.tar.gz
emacs-869d3e173381ba313de0d2fc9cde30bcbd12e480.zip
(hi-lock-mode): Fix typos in docstring.
(hi-lock-unload-function): New function.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/hi-lock.el10
2 files changed, 13 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 02aa6a91f70..8fe99b3d0a0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-03-30 Juanma Barranquero <lekktu@gmail.com>
2
3 * hi-lock.el (hi-lock-mode): Fix typos in docstring.
4 (hi-lock-unload-function): New function.
5
12008-03-30 Michael Albinus <michael.albinus@gmx.de> 62008-03-30 Michael Albinus <michael.albinus@gmx.de>
2 7
3 * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for 8 * 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:
310 be read the next time file is loaded or when the \\[hi-lock-find-patterns] command 310 be read the next time file is loaded or when the \\[hi-lock-find-patterns] command
311 is issued. The inserted regexps are in the form of font lock keywords. 311 is issued. The inserted regexps are in the form of font lock keywords.
312 (See `font-lock-keywords'.) They may be edited and re-loaded with \\[hi-lock-find-patterns], 312 (See `font-lock-keywords'.) They may be edited and re-loaded with \\[hi-lock-find-patterns],
313 any valid `font-lock-keywords' form is acceptable. When a file is 313 any valid `font-lock-keywords' form is acceptable. When a file is
314 loaded the patterns are read if `hi-lock-file-patterns-policy is 314 loaded the patterns are read if `hi-lock-file-patterns-policy' is
315 'ask and the user responds y to the prompt, or if 315 'ask and the user responds y to the prompt, or if
316 `hi-lock-file-patterns-policy' is bound to a function and that 316 `hi-lock-file-patterns-policy' is bound to a function and that
317 function returns t. 317 function returns t.
@@ -659,6 +659,12 @@ A string is considered new if it had not previously been used in a call to
659 hi-lock-string-serialize-hash) 659 hi-lock-string-serialize-hash)
660 hi-lock-string-serialize-serial))) 660 hi-lock-string-serialize-serial)))
661 661
662(defun hi-lock-unload-function ()
663 "Unload the Hi-Lock library."
664 (global-hi-lock-mode -1)
665 ;; continue standard unloading
666 nil)
667
662(provide 'hi-lock) 668(provide 'hi-lock)
663 669
664;; arch-tag: d2e8fd07-4cc9-4c6f-a200-1e729bc54066 670;; arch-tag: d2e8fd07-4cc9-4c6f-a200-1e729bc54066