2005-06-30 Juanma Barranquero <lekktu@gmail.com>
+ * 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.
;; 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
"\\("
arg
"\\)"