mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
only /italicize/ words completely in upper case
no /YAS/nippet
This commit is contained in:
parent
a9e303525c
commit
eda83304af
@ -65,7 +65,7 @@
|
|||||||
;; FOO becomes /foo/
|
;; FOO becomes /foo/
|
||||||
;; `bar' becomes [[#bar][=bar=]]
|
;; `bar' becomes [[#bar][=bar=]]
|
||||||
(setq body (replace-regexp-in-string
|
(setq body (replace-regexp-in-string
|
||||||
"[A-Z][A-Z-]+"
|
"\\<[A-Z][A-Z-]+\\>"
|
||||||
#'(lambda (match)
|
#'(lambda (match)
|
||||||
(setq match (downcase match))
|
(setq match (downcase match))
|
||||||
(format (if (member match args)
|
(format (if (member match args)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user