changeset 63895:dc6d162ead80

(help-do-arg-highlight): Regexp-quote argument names.
author Richard M. Stallman <rms@gnu.org>
date Fri, 01 Jul 2005 01:11:38 +0000
parents e2eed2c9a354
children dc77a645e223
files lisp/help-fns.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help-fns.el	Fri Jul 01 01:10:42 2005 +0000
+++ b/lisp/help-fns.el	Fri Jul 01 01:11:38 2005 +0000
@@ -277,7 +277,7 @@
                    (concat "\\<"                   ; beginning of word
                            "\\(?:[a-z-]*-\\)?"     ; for xxx-ARG
                            "\\("
-                           arg
+                           (regexp-quote arg)
                            "\\)"
                            "\\(?:es\\|s\\|th\\)?"  ; for ARGth, ARGs
                            "\\(?:-[a-z-]+\\)?"     ; for ARG-xxx