summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2006-02-18 23:34:18 +0000
committerJuanma Barranquero <lekktu@gmail.com>2006-02-18 23:34:18 +0000
commitdee503e5c3fc1663e1e4fbd7eb7f2c93532134c3 (patch)
treeca035a3fca347dad33340b80f08ef9f19a627c7d /lisp/help-fns.el
parent054d409eaff2f96f891582ed132d1125b574d364 (diff)
downloademacs-dee503e5c3fc1663e1e4fbd7eb7f2c93532134c3.tar.gz
(help-do-arg-highlight): Recognize also ARG- followed by the opening bracket of
the following bracketing pairs: {}, [], (), <>, `' (for example, in the docstring of `windmove-default-keybindings').
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r--lisp/help-fns.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 32719275edd..d30fc02c409 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -252,6 +252,7 @@ face (according to `face-differs-from-default-p')."
"\\)"
"\\(?:es\\|s\\|th\\)?" ; for ARGth, ARGs
"\\(?:-[a-z0-9-]+\\)?" ; for ARG-xxx, ARG-n
+ "\\(?:-[{([<`\"].*?\\)?"; for ARG-{x}, (x), <x>, [x], `x'
"\\>") ; end of word
(help-default-arg-highlight arg)
doc t t 1)))))