diff options
| author | Juanma Barranquero | 2006-02-02 10:43:18 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2006-02-02 10:43:18 +0000 |
| commit | 8b730780cb5c70d087739a803d50dafe822ff397 (patch) | |
| tree | b1ab74c168860c5084aaa3c42330fa264c930059 | |
| parent | c79fccd69faf302df2a480d1edefd0c86d7e15ac (diff) | |
| download | emacs-8b730780cb5c70d087739a803d50dafe822ff397.tar.gz emacs-8b730780cb5c70d087739a803d50dafe822ff397.zip | |
(hi-lock-mode, hi-lock-line-face-buffer, hi-lock-face-buffer,
hi-lock-font-lock-hook, hi-lock-archaic-interface-message-used,
hi-lock-file-patterns-range): Fix typos in docstrings.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/hi-lock.el | 24 |
2 files changed, 19 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2f5bf1825f8..45edbf0493c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2006-02-02 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * hi-lock.el (hi-lock-mode, hi-lock-line-face-buffer) | ||
| 4 | (hi-lock-face-buffer, hi-lock-font-lock-hook) | ||
| 5 | (hi-lock-archaic-interface-message-used) | ||
| 6 | (hi-lock-file-patterns-range): Fix typos in docstrings. | ||
| 7 | |||
| 1 | 2006-02-01 Mark A. Hershberger <mah@everybody.org> | 8 | 2006-02-01 Mark A. Hershberger <mah@everybody.org> |
| 2 | 9 | ||
| 3 | * xml.el (xml-parse-region): Move save-excursion and set-buffer up | 10 | * xml.el (xml-parse-region): Move save-excursion and set-buffer up |
diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el index 956ae3a6798..f028bd1f464 100644 --- a/lisp/hi-lock.el +++ b/lisp/hi-lock.el | |||
| @@ -91,7 +91,7 @@ | |||
| 91 | 91 | ||
| 92 | (defcustom hi-lock-file-patterns-range 10000 | 92 | (defcustom hi-lock-file-patterns-range 10000 |
| 93 | "Limit of search in a buffer for hi-lock patterns. | 93 | "Limit of search in a buffer for hi-lock patterns. |
| 94 | When a file is visited and hi-lock mode is on patterns starting | 94 | When a file is visited and hi-lock mode is on, patterns starting |
| 95 | up to this limit are added to font-lock's patterns. See documentation | 95 | up to this limit are added to font-lock's patterns. See documentation |
| 96 | of functions `hi-lock-mode' and `hi-lock-find-patterns'." | 96 | of functions `hi-lock-mode' and `hi-lock-find-patterns'." |
| 97 | :type 'integer | 97 | :type 'integer |
| @@ -200,7 +200,7 @@ calls." | |||
| 200 | 200 | ||
| 201 | (defvar hi-lock-archaic-interface-message-used nil | 201 | (defvar hi-lock-archaic-interface-message-used nil |
| 202 | "True if user alerted that `global-hi-lock-mode' is now the global switch. | 202 | "True if user alerted that `global-hi-lock-mode' is now the global switch. |
| 203 | Earlier versions of hi-lock used `hi-lock-mode' as the global switch, | 203 | Earlier versions of hi-lock used `hi-lock-mode' as the global switch; |
| 204 | the message is issued if it appears that `hi-lock-mode' is used assuming | 204 | the message is issued if it appears that `hi-lock-mode' is used assuming |
| 205 | that older functionality. This variable avoids multiple reminders.") | 205 | that older functionality. This variable avoids multiple reminders.") |
| 206 | 206 | ||
| @@ -283,10 +283,10 @@ called interactively, are: | |||
| 283 | Remove highlighting on matches of REGEXP in current buffer. | 283 | Remove highlighting on matches of REGEXP in current buffer. |
| 284 | 284 | ||
| 285 | \\[hi-lock-write-interactive-patterns] | 285 | \\[hi-lock-write-interactive-patterns] |
| 286 | Write active REGEXPs into buffer as comments (if possible). They will | 286 | Write active REGEXPs into buffer as comments (if possible). They will |
| 287 | be read the next time file is loaded or when the \\[hi-lock-find-patterns] command | 287 | be read the next time file is loaded or when the \\[hi-lock-find-patterns] command |
| 288 | is issued. The inserted regexps are in the form of font lock keywords. | 288 | is issued. The inserted regexps are in the form of font lock keywords. |
| 289 | (See `font-lock-keywords') They may be edited and re-loaded with \\[hi-lock-find-patterns], | 289 | (See `font-lock-keywords'.) They may be edited and re-loaded with \\[hi-lock-find-patterns], |
| 290 | any valid `font-lock-keywords' form is acceptable. | 290 | any valid `font-lock-keywords' form is acceptable. |
| 291 | 291 | ||
| 292 | \\[hi-lock-find-patterns] | 292 | \\[hi-lock-find-patterns] |
| @@ -295,12 +295,12 @@ called interactively, are: | |||
| 295 | When hi-lock is started and if the mode is not excluded, the | 295 | When hi-lock is started and if the mode is not excluded, the |
| 296 | beginning of the buffer is searched for lines of the form: | 296 | beginning of the buffer is searched for lines of the form: |
| 297 | Hi-lock: FOO | 297 | Hi-lock: FOO |
| 298 | where FOO is a list of patterns. These are added to the font lock keywords | 298 | where FOO is a list of patterns. These are added to the font lock |
| 299 | already present. The patterns must start before position (number | 299 | keywords already present. The patterns must start before position |
| 300 | of characters into buffer) `hi-lock-file-patterns-range'. Patterns | 300 | \(number of characters into buffer) `hi-lock-file-patterns-range'. |
| 301 | will be read until | 301 | Patterns will be read until |
| 302 | Hi-lock: end | 302 | Hi-lock: end |
| 303 | is found. A mode is excluded if it's in the list `hi-lock-exclude-modes'." | 303 | is found. A mode is excluded if it's in the list `hi-lock-exclude-modes'." |
| 304 | :group 'hi-lock | 304 | :group 'hi-lock |
| 305 | :lighter (:eval (if (or hi-lock-interactive-patterns | 305 | :lighter (:eval (if (or hi-lock-interactive-patterns |
| 306 | hi-lock-file-patterns) | 306 | hi-lock-file-patterns) |
| @@ -365,7 +365,7 @@ versions before 22 use the following in your .emacs file: | |||
| 365 | Interactively, prompt for REGEXP then FACE. Buffer-local history | 365 | Interactively, prompt for REGEXP then FACE. Buffer-local history |
| 366 | list maintained for regexps, global history maintained for faces. | 366 | list maintained for regexps, global history maintained for faces. |
| 367 | \\<minibuffer-local-map>Use \\[next-history-element] and \\[previous-history-element] to retrieve next or previous history item. | 367 | \\<minibuffer-local-map>Use \\[next-history-element] and \\[previous-history-element] to retrieve next or previous history item. |
| 368 | \(See info node `Minibuffer History')" | 368 | \(See info node `Minibuffer History'.)" |
| 369 | (interactive | 369 | (interactive |
| 370 | (list | 370 | (list |
| 371 | (hi-lock-regexp-okay | 371 | (hi-lock-regexp-okay |
| @@ -390,7 +390,7 @@ list maintained for regexps, global history maintained for faces. | |||
| 390 | Interactively, prompt for REGEXP then FACE. Buffer-local history | 390 | Interactively, prompt for REGEXP then FACE. Buffer-local history |
| 391 | list maintained for regexps, global history maintained for faces. | 391 | list maintained for regexps, global history maintained for faces. |
| 392 | \\<minibuffer-local-map>Use \\[next-history-element] and \\[previous-history-element] to retrieve next or previous history item. | 392 | \\<minibuffer-local-map>Use \\[next-history-element] and \\[previous-history-element] to retrieve next or previous history item. |
| 393 | \(See info node `Minibuffer History')" | 393 | \(See info node `Minibuffer History'.)" |
| 394 | (interactive | 394 | (interactive |
| 395 | (list | 395 | (list |
| 396 | (hi-lock-regexp-okay | 396 | (hi-lock-regexp-okay |
| @@ -595,7 +595,7 @@ not suitable." | |||
| 595 | (message "Hi-lock added %d patterns." (length all-patterns)))))) | 595 | (message "Hi-lock added %d patterns." (length all-patterns)))))) |
| 596 | 596 | ||
| 597 | (defun hi-lock-font-lock-hook () | 597 | (defun hi-lock-font-lock-hook () |
| 598 | "Add hi lock patterns to font-lock's." | 598 | "Add hi-lock patterns to font-lock's." |
| 599 | (if font-lock-mode | 599 | (if font-lock-mode |
| 600 | (progn | 600 | (progn |
| 601 | (font-lock-add-keywords nil hi-lock-file-patterns t) | 601 | (font-lock-add-keywords nil hi-lock-file-patterns t) |