From 24eca4283c7aa08c6febe15592213c63336eb3d9 Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Thu, 26 Nov 1998 14:49:08 +0000 Subject: Alterations to @var case again --- generic/texi-docstring-magic.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generic/texi-docstring-magic.el b/generic/texi-docstring-magic.el index 0834584e..91bb4489 100644 --- a/generic/texi-docstring-magic.el +++ b/generic/texi-docstring-magic.el @@ -77,7 +77,8 @@ ;; lowercased form of an argument as a symbol) ;; FIXME: maybe we don't want to downcase stuff already ;; inside @samp - ("\\([A-Z0-9\\-_]+\\)\\(/\\|-\\|\)\\|}\\|\\s-\\|\\s.\\|$\\)" + ;; FIXME: should - terminate? should _ be included? + ("\\([A-Z0-9\\-]+\\)\\(/\\|\)\\|}\\|\\s-\\|\\s.\\|$\\)" (or (> (length (match-string 1 docstring)) 3) (member (downcase (match-string 1 docstring)) args)) (concat "@var{" (downcase (match-string 1 docstring)) "}" -- cgit v1.2.3