Commit 27bbbadb authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(help-do-arg-highlight): Highlight also -ARG (for example, -NLINES on the

`occur' docstring).
parent 426674a8
2005-06-30 Juanma Barranquero <>
* help-fns.el (help-do-arg-highlight): Highlight also -ARG (for
example, -NLINES in the `occur' docstring).
* replace.el (occur-1): When no matches are found, do not set the
`buffer-read-only' and modified flags for the occur buffer,
because it is deleted.
......@@ -275,7 +275,7 @@ face (according to `face-differs-from-default-p')."
;; This is heuristic, but covers all common cases
;; except ARG1-ARG2
(concat "\\<" ; beginning of word
"\\(?:[a-z-]+-\\)?" ; for xxx-ARG
"\\(?:[a-z-]*-\\)?" ; for xxx-ARG
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment