emacs-elpa-diffs
[Top][All Lists]
Advanced

[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.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]