[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 582e368 072/177: minor: cosmetic fixes to manual
From: |
João Távora |
Subject: |
[elpa] master 582e368 072/177: minor: cosmetic fixes to manual |
Date: |
Sat, 28 Mar 2015 15:40:57 +0000 |
branch: master
commit 582e3680b66a62f304034376516207c006f77fe4
Author: Joao Tavora <address@hidden>
Commit: Joao Tavora <address@hidden>
minor: cosmetic fixes to manual
---
doc/faq.org | 4 ++--
doc/snippet-expansion.org | 26 +++++++++++++++-----------
doc/snippet-organization.org | 2 +-
3 files changed, 18 insertions(+), 14 deletions(-)
diff --git a/doc/faq.org b/doc/faq.org
index c025776..cc889e1 100644
--- a/doc/faq.org
+++ b/doc/faq.org
@@ -94,7 +94,7 @@ active:
This is apparently related to overlay priorities. For some reason, the
=keymap= property of flyspell's overlays always takes priority over the
-same property in yasnippet's overlays, even if one sets the latter's
+same property in YASnippet's overlays, even if one sets the latter's
=priority= property to something big. If you know emacs-lisp and can
solve this problem, drop a line in the
[[http://groups.google.com/group/smart-snippet][discussion group]].
@@ -148,7 +148,7 @@ filename as a trigger key in this case.
You should rather use the =# key:= directive to specify the key of the
defined snippet explicitly and name your snippet with an arbitrary valid
-filename, =lt.yasnippet= for example, using =<= for the =# key:=
+filename, =lt.YASnippet= for example, using =<= for the =# key:=
directive:
#+BEGIN_SRC snippet
diff --git a/doc/snippet-expansion.org b/doc/snippet-expansion.org
index f317bcf..0618d4a 100644
--- a/doc/snippet-expansion.org
+++ b/doc/snippet-expansion.org
@@ -94,15 +94,18 @@ See [[./snippet-menu.org][the YASnippet Menu]].
** Expanding with =hippie-expand=
-To integrate with =hippie-expand=, just put
[[sym:yas-hippie-try-expand][=yas-hippie-try-expand=]] in
-=hippie-expand-try-functions-list=. This probably makes more sense when
-placed at the top of the list, but it can be put anywhere you prefer.
+To integrate with =hippie-expand=, just put
+[[sym:yas-hippie-try-expand][=yas-hippie-try-expand=]] in
+=hippie-expand-try-functions-list=. This probably makes more sense
+when placed at the top of the list, but it can be put anywhere you
+prefer.
** Expanding from emacs-lisp code
-Sometimes you might want to expand a snippet directly from you own elisp
-code. You should call [[sym:yas-expand-snippet][=yas-expand-snippet=]] instead
of [[sym:yas-expand][=yas-expand=]] in
-this case.
+Sometimes you might want to expand a snippet directly from you own
+elisp code. You should call
+[[sym:yas-expand-snippet][=yas-expand-snippet=]] instead of
+[[sym:yas-expand][=yas-expand=]] in this case.
As with expanding from the menubar, the condition system and multiple
candidates doesn't affect expansion. In fact, expanding from the
@@ -145,9 +148,9 @@ In particular, the following things matter:
- Buffer-local list of extra modes
- Use [[#yas-activate-extra-mode][=yas-activate-extra-mode=]] to consider
snippet tables whose name
- does not correspond to a major mode. Typically, you call this from
- a minor mode hook, for example:
+ Use [[#yas-activate-extra-mode][=yas-activate-extra-mode=]] to
+ consider snippet tables whose name does not correspond to a major
+ mode. Typically, you call this from a minor mode hook, for example:
#+BEGIN_SRC emacs-lisp
;; When entering rinari-minor-mode, consider also the snippets in the
@@ -157,7 +160,9 @@ In particular, the following things matter:
(yas-activate-extra-mode 'rails-mode)))
#+END_SRC
-- Buffer-local
[[sym:yas-buffer-local-condition][=yas-buffer-local-condition=]] variable
+- Buffer-local
+ [[sym:yas-buffer-local-condition][=yas-buffer-local-condition=]]
+ variable
This variable provides finer grained control over what snippets can
be expanded in the current buffer. The default value won't let you
@@ -255,4 +260,3 @@ shortcut to select the 6th candidate.
*** Roll your own
See the documentation on variable
[[sym:yas-prompt-functions][=yas-prompt-functions=]]
-
diff --git a/doc/snippet-organization.org b/doc/snippet-organization.org
index 0ec12a1..ee55a8e 100644
--- a/doc/snippet-organization.org
+++ b/doc/snippet-organization.org
@@ -43,7 +43,7 @@
(setq yas-snippet-dirs '("~/emacs.d/mysnippets"
"~/Downloads/interesting-snippets"))
- ;; OR, keeping yasnippet's defaults try out ~/Downloads/interesting-snippets
+ ;; OR, keeping YASnippet defaults try out ~/Downloads/interesting-snippets
(setq yas-snippet-dirs (append yas-snippet-dirs
'("~/Downloads/interesting-snippets")))
#+end_src
- [elpa] master 0aebb41 055/177: move top heading to title, (continued)
- [elpa] master 0aebb41 055/177: move top heading to title, João Távora, 2015/03/28
- [elpa] master 46c378d 063/177: format args in docstrings as =code=, not /italic/, João Távora, 2015/03/28
- [elpa] master da9852a 053/177: {snippet-development, faq}.org: fixup pandoc output, João Távora, 2015/03/28
- [elpa] master a9e3035 066/177: docstring fixes, João Távora, 2015/03/28
- [elpa] master eda8330 067/177: only /italicize/ words completely in upper case, João Távora, 2015/03/28
- [elpa] master 0f8007e 071/177: Simplify: index.org no longer repeats info in the README, João Távora, 2015/03/28
- [elpa] master 6927f69 069/177: minor: README.mdown link, João Távora, 2015/03/28
- [elpa] master 0a9885e 073/177: markup suffixed variable names, eg SUBEXPth, João Távora, 2015/03/28
- [elpa] master c61f81f 070/177: Closes #439: add a faq question about redefining keys, João Távora, 2015/03/28
- [elpa] master 7d4e4aa 074/177: Closes #440: don't use `make-variable-buffer-local' for `yas--extra-modes', João Távora, 2015/03/28
- [elpa] master 582e368 072/177: minor: cosmetic fixes to manual,
João Távora <=
- [elpa] master 7518cb4 075/177: rake doc:upload: check for wrong/incomplete rev, João Távora, 2015/03/28
- [elpa] master b944cc9 078/177: fix rake doc:upload, João Távora, 2015/03/28
- [elpa] master 90e7595 081/177: yas-text export twice, João Távora, 2015/03/28
- [elpa] master 46b4a02 079/177: doc:upload stylesheets/*.css to gh-pages, João Távora, 2015/03/28
- [elpa] master 6c752a1 080/177: populate yas--exported-syms based on sym prefix, João Távora, 2015/03/28
- [elpa] master ba0b02f 082/177: Merge pull request #446 from dongxiong/patch-2, João Távora, 2015/03/28
- [elpa] master d89e837 076/177: add top level menu, minimal styling, João Távora, 2015/03/28
- [elpa] master 260ecf9 077/177: fix a faq title, João Távora, 2015/03/28
- [elpa] master 0567c93 083/177: Merge pull request #442 from npostavs/auto-export, João Távora, 2015/03/28
- [elpa] master 4916657 084/177: Use https instead of ssh for submodules access, João Távora, 2015/03/28