aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Aspinall1998-11-26 14:49:08 +0000
committerDavid Aspinall1998-11-26 14:49:08 +0000
commit24eca4283c7aa08c6febe15592213c63336eb3d9 (patch)
tree51f1c9dfd4f51cf9aa2a3d2912ca3dddf4b3e7de
parent76e761c305ef7d5f1c3c7fb326e17e7af5b28b79 (diff)
Alterations to @var case again
-rw-r--r--generic/texi-docstring-magic.el3
1 files changed, 2 insertions, 1 deletions
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)) "}"