diff options
| author | Juanma Barranquero | 2005-06-30 14:20:56 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-06-30 14:20:56 +0000 |
| commit | 27bbbadb3eb165d96b90fc77de47b76680e09438 (patch) | |
| tree | f73e3128e3a5efab7bc18e56c23437234bf84fbc | |
| parent | 426674a851eec23cb8ac65e69399c36e740caf83 (diff) | |
| download | emacs-27bbbadb3eb165d96b90fc77de47b76680e09438.tar.gz emacs-27bbbadb3eb165d96b90fc77de47b76680e09438.zip | |
(help-do-arg-highlight): Highlight also -ARG (for example, -NLINES on the
`occur' docstring).
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/help-fns.el | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index aa34f19b6bf..6533457b7f2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2005-06-30 Juanma Barranquero <lekktu@gmail.com> | 1 | 2005-06-30 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 2 | ||
| 3 | * help-fns.el (help-do-arg-highlight): Highlight also -ARG (for | ||
| 4 | example, -NLINES in the `occur' docstring). | ||
| 5 | |||
| 3 | * replace.el (occur-1): When no matches are found, do not set the | 6 | * replace.el (occur-1): When no matches are found, do not set the |
| 4 | `buffer-read-only' and modified flags for the occur buffer, | 7 | `buffer-read-only' and modified flags for the occur buffer, |
| 5 | because it is deleted. | 8 | because it is deleted. |
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index b5e22bf1855..39d5f2fc4ea 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -275,7 +275,7 @@ face (according to `face-differs-from-default-p')." | |||
| 275 | ;; This is heuristic, but covers all common cases | 275 | ;; This is heuristic, but covers all common cases |
| 276 | ;; except ARG1-ARG2 | 276 | ;; except ARG1-ARG2 |
| 277 | (concat "\\<" ; beginning of word | 277 | (concat "\\<" ; beginning of word |
| 278 | "\\(?:[a-z-]+-\\)?" ; for xxx-ARG | 278 | "\\(?:[a-z-]*-\\)?" ; for xxx-ARG |
| 279 | "\\(" | 279 | "\\(" |
| 280 | arg | 280 | arg |
| 281 | "\\)" | 281 | "\\)" |