[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master d963c41 010/177: Closes #406: correct docstring for yas-ex
From: |
João Távora |
Subject: |
[elpa] master d963c41 010/177: Closes #406: correct docstring for yas-extra-modes |
Date: |
Sat, 28 Mar 2015 15:40:28 +0000 |
branch: master
commit d963c41a147a7d7f9ed09ee71bc8ce3065ad7eb6
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
Closes #406: correct docstring for yas-extra-modes
---
yasnippet.el | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/yasnippet.el b/yasnippet.el
index db529e8..f1bba52 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -51,8 +51,8 @@
;; `yas-extra-modes'
;;
;; A local variable that you can set in a hook to override
-;; snippet-lookup based on major mode. It is a symbol (or
-;; list of symbols) that correspond to subdirectories of
+;; snippet-lookup based on major mode. It is a list of
+;; symbols that correspond to subdirectories of
;; `yas-snippet-dirs' and is used for deciding which
;; snippets to consider for the active buffer.
;;
@@ -658,9 +658,7 @@ snippet itself contains a condition that returns the symbol
"The keymap used when `yas-minor-mode' is active.")
(defvar yas-extra-modes nil
- "If non-nil, also lookup snippets for this/these modes.
-
-Can be a symbol or a list of symbols.
+ "A list of modes for which to also lookup snippets.
This variable probably makes more sense as buffer-local, so
ensure your use `make-local-variable' when you set it.")
- [elpa] master 6ce6b24 001/177: fix: replace 'text' in 'yas-text' in bundled snippets, (continued)
- [elpa] master 6ce6b24 001/177: fix: replace 'text' in 'yas-text' in bundled snippets, João Távora, 2015/03/28
- [elpa] master ddaf9a9 002/177: Fix: cleanup yasnippet-tests.el, João Távora, 2015/03/28
- [elpa] master ce50b3d 004/177: Closes #318: Don't use CL-LABELS for backward compatibility with older emacsen, João Távora, 2015/03/28
- [elpa] master a7d40ed 003/177: Closes #318: correctly implement YAS--MODES-TO-ACTIVATE, João Távora, 2015/03/28
- [elpa] master 78c52fd 005/177: fix: shoosh warning with LETREC instead of LET, João Távora, 2015/03/28
- [elpa] master 3ec62ab 006/177: fix: please older emacsen, don't use LETREC after all, João Távora, 2015/03/28
- [elpa] master 1aac5fc 008/177: Merge pull request #407 from dongxiong/patch-1, João Távora, 2015/03/28
- [elpa] master 79f3656 011/177: fix font-lock-keywords syntax, João Távora, 2015/03/28
- [elpa] master 13cfdbc 009/177: fix: remove references to dropdown-list.el in Rakefile, João Távora, 2015/03/28
- [elpa] master 8853127 007/177: Update manual.mdown, João Távora, 2015/03/28
- [elpa] master d963c41 010/177: Closes #406: correct docstring for yas-extra-modes,
João Távora <=
- [elpa] master f21ddd1 012/177: remove redundant font-lock-keywords, João Távora, 2015/03/28
- [elpa] master 90d4cae 013/177: inhibit change hooks during (insert content), João Távora, 2015/03/28
- [elpa] master 7849ffc 015/177: fix: don't use universal-argument-num-events, João Távora, 2015/03/28
- [elpa] master 6997922 016/177: Revert "inhibit change hooks during (insert content)", João Távora, 2015/03/28
- [elpa] master 6268cc2 014/177: add: test for issue #404, João Távora, 2015/03/28
- [elpa] master 5c76a0f 019/177: test middle-of-buffer snippet insertion, João Távora, 2015/03/28
- [elpa] master 51e9e8e 017/177: wait till after content insertion to narrow, João Távora, 2015/03/28
- [elpa] master 3bb1515 018/177: Merge pull request #409 from npostavs/font-lock, João Távora, 2015/03/28
- [elpa] master 6c3e029 020/177: Merge pull request #412 from npostavs/less-narrow, João Távora, 2015/03/28
- [elpa] master 32ee5cb 021/177: Closes #415: remove c-specific hacks, harmful on emacs 24.3, João Távora, 2015/03/28