[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master fb28ec8 37/60: * README.mdown (Use `yas-minor-mode`): Rewo
From: |
João Távora |
Subject: |
[elpa] master fb28ec8 37/60: * README.mdown (Use `yas-minor-mode`): Reword. |
Date: |
Thu, 21 Jan 2016 22:36:01 +0000 |
branch: master
commit fb28ec8384b4f5b4638bd4e1a051498e7276af68
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>
* README.mdown (Use `yas-minor-mode`): Reword.
Close #623.
---
README.mdown | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/README.mdown b/README.mdown
index 3a956fb..716b620 100644
--- a/README.mdown
+++ b/README.mdown
@@ -43,10 +43,12 @@ https://github.com/dimitri/el-get for instructions.
## Use `yas-minor-mode` on a per-buffer basis
-To use YASnippet as a non-global minor mode, replace `(yas-global-mode 1)` with
-`(yas-reload-all)` to load the snippet tables. Then add a call to
-`(yas-minor-mode)` to the major-modes where you to enable YASnippet.
+To use YASnippet as a non-global minor mode, don't call
+`yas-global-mode`; instead call `yas-reload-all` to load the snippet
+tables and then call `yas-minor-mode` from the hooks of major-modes
+where you want YASnippet enabled.
+ (yas-reload-all)
(add-hook 'prog-mode-hook #'yas-minor-mode)
# Where are the snippets?
- [elpa] master 00b84ce 27/60: Add (failing) yas--modes-to-activate test, (continued)
- [elpa] master 00b84ce 27/60: Add (failing) yas--modes-to-activate test, João Távora, 2016/01/21
- [elpa] master 72c6c4c 32/60: Fix #618; save match data in yas--scan-sexps, João Távora, 2016/01/21
- [elpa] master ac3fe83 30/60: Merge pull request #621 from npostavs/dfs-extra-modes2, João Távora, 2016/01/21
- [elpa] master b8687bb 35/60: Avoid double snippet loading messages, João Távora, 2016/01/21
- [elpa] master 35642ac 33/60: Simplify string matching., João Távora, 2016/01/21
- [elpa] master b055f13 34/60: Fix #617; ensure point is visible before x prompt, João Távora, 2016/01/21
- [elpa] master f121645 38/60: Fix #607; avoid Emacs bug #21824, João Távora, 2016/01/21
- [elpa] master 1cf723a 41/60: Ignore trailing spaces in snippet definitions, João Távora, 2016/01/21
- [elpa] master 2100b89 42/60: Closes #632: Use `user-emacs-directory' instead of hardcoded "~/emacs.d", João Távora, 2016/01/21
- [elpa] master beb02e5 39/60: * CONTRIBUTING.md: Add note about changelog only messages., João Távora, 2016/01/21
- [elpa] master fb28ec8 37/60: * README.mdown (Use `yas-minor-mode`): Reword.,
João Távora <=
- [elpa] master 6c46878 43/60: Fix #587; set `this-command' on fallback., João Távora, 2016/01/21
- [elpa] master 23ee54e 44/60: Use destructive list functions in yas--s-a-p, João Távora, 2016/01/21
- [elpa] master 3aa7cb2 40/60: M-x delete-trailing-whitespace, João Távora, 2016/01/21
- [elpa] master d78181a 46/60: Remove yas--inhibit-overlay-hooks macro., João Távora, 2016/01/21
- [elpa] master 17fe790 51/60: Fix #515; only clear field on self-insert, João Távora, 2016/01/21
- [elpa] master 67a45a6 48/60: * README.mdown: Add link to textmate-to-yas.el., João Távora, 2016/01/21
- [elpa] master c80fbf2 49/60: Cleanup yas--on-field-overlay-modification, João Távora, 2016/01/21
- [elpa] master 444c882 47/60: * README.mdown: update melpa URL., João Távora, 2016/01/21
- [elpa] master 61261c9 53/60: Fix #576; don't override yas-prompt-functions, João Távora, 2016/01/21
- [elpa] master a2c5292 55/60: Bless Noam Postavsky as the new official maintainer, João Távora, 2016/01/21