[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 78c8b5e 090/177: yas--document-symbol: fix no transform ca
From: |
João Távora |
Subject: |
[elpa] master 78c8b5e 090/177: yas--document-symbol: fix no transform case |
Date: |
Sat, 28 Mar 2015 15:41:09 +0000 |
branch: master
commit 78c8b5eb8058e8da523542b1b1de7e21a5b60e14
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>
yas--document-symbol: fix no transform case
was causing YASnippetnippet
---
doc/yas-doc-helper.el | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/doc/yas-doc-helper.el b/doc/yas-doc-helper.el
index cec818c..925e41b 100755
--- a/doc/yas-doc-helper.el
+++ b/doc/yas-doc-helper.el
@@ -67,13 +67,14 @@
(setq body (replace-regexp-in-string
"\\<\\([A-Z][-A-Z0-9]+\\)\\(\\sw+\\)?\\>"
#'(lambda (match)
- (let* ((match1 (downcase (match-string 1 match)))
+ (let* ((match1 (match-string 1 match))
+ (prefix (downcase match1))
(suffix (match-string 2 match))
(fmt (cond
- ((member match1 args) "@<code>%s@</code>")
+ ((member prefix args) "@<code>%s@</code>")
((null suffix) "/%s/"))))
- (if fmt (format fmt match1)
- match)))
+ (if fmt (format fmt prefix)
+ match1)))
body t t 1)
body (replace-regexp-in-string
"`\\([a-z-]+\\)'"
- [elpa] master 46b4a02 079/177: doc:upload stylesheets/*.css to gh-pages, (continued)
- [elpa] master 46b4a02 079/177: doc:upload stylesheets/*.css to gh-pages, João Távora, 2015/03/28
- [elpa] master 6c752a1 080/177: populate yas--exported-syms based on sym prefix, João Távora, 2015/03/28
- [elpa] master ba0b02f 082/177: Merge pull request #446 from dongxiong/patch-2, João Távora, 2015/03/28
- [elpa] master d89e837 076/177: add top level menu, minimal styling, João Távora, 2015/03/28
- [elpa] master 260ecf9 077/177: fix a faq title, João Távora, 2015/03/28
- [elpa] master 0567c93 083/177: Merge pull request #442 from npostavs/auto-export, João Távora, 2015/03/28
- [elpa] master 4916657 084/177: Use https instead of ssh for submodules access, João Távora, 2015/03/28
- [elpa] master 22773c7 087/177: add a link to the symbol reference in top menu, João Távora, 2015/03/28
- [elpa] master c18672a 085/177: Closes #447: only call command beyond yasnippet if it exists, João Távora, 2015/03/28
- [elpa] master 24d7a67 086/177: fix typo, João Távora, 2015/03/28
- [elpa] master 78c8b5e 090/177: yas--document-symbol: fix no transform case,
João Távora <=
- [elpa] master e190b08 088/177: Rakefile: don't fail with EMACS=t env setting, João Távora, 2015/03/28
- [elpa] master df58222 089/177: yas--document-symbols: respect level arg, raise to 1, João Távora, 2015/03/28
- [elpa] master f94c38e 091/177: Merge pull request #449 from nibua-r/https-submodules, João Távora, 2015/03/28
- [elpa] master 3002043 093/177: Sync git submodule for yasmate repo, João Távora, 2015/03/28
- [elpa] master 0f8c2ab 094/177: Add `yas-after-reload-hook' and run it at the end of `yas-reload-all', João Távora, 2015/03/28
- [elpa] master 987942c 095/177: update snippets submodule, João Távora, 2015/03/28
- [elpa] master c128580 096/177: yasnippet templates don't add newlines, João Távora, 2015/03/28
- [elpa] master 83c174c 097/177: Merge pull request #464 from kidd/master, João Távora, 2015/03/28
- [elpa] master 12b7f82 092/177: Add Travis CI and update tests. Start a Changelog., João Távora, 2015/03/28
- [elpa] master 3744f92 098/177: avoid double choices reversing, João Távora, 2015/03/28