]> code.delx.au - gnu-emacs-elpa/commitdiff
Closes #406: correct docstring for yas-extra-modes
authorJoão Távora <joaotavora@gmail.com>
Wed, 9 Oct 2013 23:02:39 +0000 (00:02 +0100)
committerJoão Távora <joaotavora@gmail.com>
Wed, 9 Oct 2013 23:02:39 +0000 (00:02 +0100)
yasnippet.el

index db529e8628f29c9c108256f86dfd005b888b2f6d..f1bba52596947b49f9a773e33f864f9320cfac8f 100644 (file)
@@ -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.")