changeset 63876:f66c007ebe28

(help-do-arg-highlight): Highlight also -ARG (for example, -NLINES on the `occur' docstring).
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 30 Jun 2005 14:19:11 +0000
parents ede5ae2b2e2e
children 97c5ed4f08bc
files lisp/help-fns.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help-fns.el	Thu Jun 30 13:04:04 2005 +0000
+++ b/lisp/help-fns.el	Thu Jun 30 14:19:11 2005 +0000
@@ -275,7 +275,7 @@
                    ;; 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
                            "\\)"