summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-07-01 01:13:27 +0000
committerRichard M. Stallman <rms@gnu.org>2005-07-01 01:13:27 +0000
commit11bc6e51a0868393ca6879cd4b122e8d78d67c11 (patch)
treede942c1cb907aa55e9a8883d478cd84f35a4f9f1 /lisp/help-fns.el
parent6261856785ec2d796ef66b84cb37fd2a61422c66 (diff)
downloademacs-11bc6e51a0868393ca6879cd4b122e8d78d67c11.tar.gz
(help-do-arg-highlight): Regexp-quote argument names.
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r--lisp/help-fns.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 39d5f2fc4ea..ab9e118bfdf 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -277,7 +277,7 @@ face (according to `face-differs-from-default-p')."
(concat "\\<" ; beginning of word
"\\(?:[a-z-]*-\\)?" ; for xxx-ARG
"\\("
- arg
+ (regexp-quote arg)
"\\)"
"\\(?:es\\|s\\|th\\)?" ; for ARGth, ARGs
"\\(?:-[a-z-]+\\)?" ; for ARG-xxx