changeset 68994:9dadad58610c

(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').
author Juanma Barranquero <lekktu@gmail.com>
date Sat, 18 Feb 2006 23:31:17 +0000
parents 3d9e09ba3ace
children bb117d25ee4c
files lisp/help-fns.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help-fns.el	Sat Feb 18 22:58:26 2006 +0000
+++ b/lisp/help-fns.el	Sat Feb 18 23:31:17 2006 +0000
@@ -252,6 +252,7 @@
                          "\\)"
                          "\\(?: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)))))