branch: master
commit 7f4f6befc0cd3b5f3f256b7c7abc17be6c260280
Merge: 23133da 0e7ea94
Author: João Távora <[email protected]>
Commit: João Távora <[email protected]>
Merge pull request #571 from PhilHudson/master
Replaced 'shadow' with 'override' throughout documentation
---
doc/snippet-organization.org | 2 +-
yasnippet.el | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/snippet-organization.org b/doc/snippet-organization.org
index ee55a8e..abe62ad 100644
--- a/doc/snippet-organization.org
+++ b/doc/snippet-organization.org
@@ -48,7 +48,7 @@
'("~/Downloads/interesting-snippets")))
#+end_src
- Collections appearing earlier in the list shadow snippets with same names
+ Collections appearing earlier in the list override snippets with same names
appearing in collections later in the list.
[[sym:yas-new-snippet][=yas-new-snippet=]] always stores
snippets in the first collection.
diff --git a/yasnippet.el b/yasnippet.el
index 16278cc..45702e4 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -41,7 +41,7 @@
;; stored. Can also be a list of directories. In that case,
;; when used for bulk (re)loading of snippets (at startup or
;; via `yas-reload-all'), directories appearing earlier in
-;; the list shadow other dir's snippets. Also, the first
+;; the list override other dir's snippets. Also, the first
;; directory is taken as the default for storing the user's
;; new snippets.
;;
@@ -165,7 +165,7 @@ Each element, a string or a symbol whose value is a string,
designates a top-level directory where per-mode snippet
directories can be found.
-Elements appearing earlier in the list shadow later elements'
+Elements appearing earlier in the list override later elements'
snippets.
The first directory is taken as the default for storing snippet's
@@ -4292,7 +4292,7 @@ When multiple expressions are found, only the last one
counts."
(or (and fallback
(format "call command `%s'."
(pp-to-string fallback)))
- "do nothing (`yas-expand' doesn't shadow\nanything).")))
+ "do nothing (`yas-expand' doesn't
override\nanything).")))
((eq yas-fallback-behavior 'return-nil)
"do nothing.")
(t "defer to `yas-fallback-behavior' (which see)."))))