branch: master
commit eda83304afc7894f0b5ddc15b04b041be52b94fb
Author: Noam Postavsky <npost...@users.sourceforge.net>
Commit: Noam Postavsky <npost...@users.sourceforge.net>

    only /italicize/ words completely in upper case
    
    no /YAS/nippet
---
 doc/yas-doc-helper.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/doc/yas-doc-helper.el b/doc/yas-doc-helper.el
index 8baa26a..fc3c1b5 100755
--- a/doc/yas-doc-helper.el
+++ b/doc/yas-doc-helper.el
@@ -65,7 +65,7 @@
       ;; FOO becomes /foo/
       ;; `bar' becomes [[#bar][=bar=]]
       (setq body (replace-regexp-in-string
-                  "[A-Z][A-Z-]+"
+                  "\\<[A-Z][A-Z-]+\\>"
                   #'(lambda (match)
                       (setq match (downcase match))
                       (format (if (member match args)

Reply via email to