[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 890bd7e 04/60: Merge pull request #569 from npostavs/doc-o
From: |
João Távora |
Subject: |
[elpa] master 890bd7e 04/60: Merge pull request #569 from npostavs/doc-obsolete |
Date: |
Thu, 21 Jan 2016 22:35:48 +0000 |
branch: master
commit 890bd7edcd4390f5a00131871633e67dc3b84219
Merge: a467019 d619107
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
Merge pull request #569 from npostavs/doc-obsolete
README fixes, mark yas-initialize as obsolete
---
README.mdown | 17 ++---------------
yasnippet.el | 1 +
2 files changed, 3 insertions(+), 15 deletions(-)
diff --git a/README.mdown b/README.mdown
index 75ca37a..5806994 100644
--- a/README.mdown
+++ b/README.mdown
@@ -41,18 +41,7 @@ In a recent emacs `M-x list-packages` is the recommended way
to list and install
## Install with el-get
El-get is a nice way to get the most recent version, too. See
-https://github.com/dimitri/el-get for instructions. Be sure to install the
-"master" branch since the 3.x series still use the old googlecode code, base.
-Consider using this "local" recipe.
-
- (push '(:name yasnippet
- :website "https://github.com/capitaomorte/yasnippet.git"
- :description "YASnippet is a template system for Emacs."
- :type github
- :pkgname "capitaomorte/yasnippet"
- :features "yasnippet"
- :compile "yasnippet.el")
- el-get-sources)
+https://github.com/dimitri/el-get for instructions.
## Use `yas-minor-mode` on a per-buffer basis
@@ -60,9 +49,7 @@ 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.
- (add-hook 'prog-mode-hook
- '(lambda ()
- (yas-minor-mode)))
+ (add-hook 'prog-mode-hook #'yas-minor-mode)
# Where are the snippets?
diff --git a/yasnippet.el b/yasnippet.el
index 95c96e4..16278cc 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -4434,6 +4434,7 @@ and return the directory. Return nil if not found."
(defun yas-initialize ()
"For backward compatibility, enable `yas-minor-mode' globally."
+ (declare (obsolete "Use (yas-global-mode 1) instead." "0.8"))
(yas-global-mode 1))
(defvar yas--backported-syms '(;; `defcustom's
- [elpa] master updated (da68117 -> 5817fe1), João Távora, 2016/01/21
- [elpa] master fdef445 01/60: README.mdown (el-get): Remove obsolete information, João Távora, 2016/01/21
- [elpa] master 23133da 05/60: Update README.mdown, João Távora, 2016/01/21
- [elpa] master 0e7ea94 06/60: Replaced 'shadow' with 'override' throughout documentation, João Távora, 2016/01/21
- [elpa] master 4fd8ab1 02/60: README.mdown (per-buffer): Remove needless lambda, João Távora, 2016/01/21
- [elpa] master d619107 03/60: yasnippet.el (yas-initialize): Mark obsolete, João Távora, 2016/01/21
- [elpa] master 890bd7e 04/60: Merge pull request #569 from npostavs/doc-obsolete,
João Távora <=
- [elpa] master 5aebe46 08/60: Closes #549: Adjust `load' verbosity to `yas-verbosity', João Távora, 2016/01/21
- [elpa] master 4692c81 09/60: Fix "invalid function: quote", João Távora, 2016/01/21
- [elpa] master 5ebf347 11/60: Minor doc fixes, João Távora, 2016/01/21
- [elpa] master 197db9f 10/60: Merge pull request #578 from aluaces/patch-1, João Távora, 2016/01/21
- [elpa] master 7f4f6be 07/60: Merge pull request #571 from PhilHudson/master, João Távora, 2016/01/21
- [elpa] master c91a588 14/60: Simplify some code, João Távora, 2016/01/21
- [elpa] master 7bce1a6 12/60: Add new function yas-lookup-snippet, João Távora, 2016/01/21
- [elpa] master e8934ce 13/60: Merge pull request #596 from npostavs/lookup-snippet, João Távora, 2016/01/21
- [elpa] master 0ada0fc 15/60: Add documentation for snippet compilation, João Távora, 2016/01/21
- [elpa] master 4bd3d98 16/60: Merge pull request #599 from zmwangx/snippet-compilation-doc, João Távora, 2016/01/21