mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
Closes #406: correct docstring for yas-extra-modes
This commit is contained in:
parent
13cfdbc164
commit
d963c41a14
@ -51,8 +51,8 @@
|
|||||||
;; `yas-extra-modes'
|
;; `yas-extra-modes'
|
||||||
;;
|
;;
|
||||||
;; A local variable that you can set in a hook to override
|
;; A local variable that you can set in a hook to override
|
||||||
;; snippet-lookup based on major mode. It is a symbol (or
|
;; snippet-lookup based on major mode. It is a list of
|
||||||
;; list of symbols) that correspond to subdirectories of
|
;; symbols that correspond to subdirectories of
|
||||||
;; `yas-snippet-dirs' and is used for deciding which
|
;; `yas-snippet-dirs' and is used for deciding which
|
||||||
;; snippets to consider for the active buffer.
|
;; 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.")
|
"The keymap used when `yas-minor-mode' is active.")
|
||||||
|
|
||||||
(defvar yas-extra-modes nil
|
(defvar yas-extra-modes nil
|
||||||
"If non-nil, also lookup snippets for this/these modes.
|
"A list of modes for which to also lookup snippets.
|
||||||
|
|
||||||
Can be a symbol or a list of symbols.
|
|
||||||
|
|
||||||
This variable probably makes more sense as buffer-local, so
|
This variable probably makes more sense as buffer-local, so
|
||||||
ensure your use `make-local-variable' when you set it.")
|
ensure your use `make-local-variable' when you set it.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user