diff options
Diffstat (limited to 'lisp')
-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 @@ 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. 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')." ;; 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 "\\)" |