[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 3e7b56e 169/177: Implements #566: Remove dead major modes
From: |
João Távora |
Subject: |
[elpa] master 3e7b56e 169/177: Implements #566: Remove dead major modes code |
Date: |
Sat, 28 Mar 2015 15:41:43 +0000 |
branch: master
commit 3e7b56ebd7385a4669beed7c059981b3f78425bf
Author: Vasilij Schneidermann <address@hidden>
Commit: Vasilij Schneidermann <address@hidden>
Implements #566: Remove dead major modes code
* yasnippet.el (yas--known-modes, yas--real-mode?): Removed
---
yasnippet.el | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/yasnippet.el b/yasnippet.el
index b13f72b..0d9506b 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -526,10 +526,6 @@ snippet itself contains a condition that returns the symbol
(defvar yas--menu-table (make-hash-table)
"A hash table of MAJOR-MODE symbols to menu keymaps.")
-(defvar yas--known-modes
- '(ruby-mode rst-mode markdown-mode)
- "A list of mode which is well known but not part of Emacs.")
-
(defvar yas--escaped-characters
'(?\\ ?` ?\" ?' ?$ ?} ?{ ?\( ?\))
"List of characters which *might* need to be escaped.")
@@ -1283,16 +1279,6 @@ Returns (TEMPLATES START END). This function respects
;;; Internal functions and macros:
-(defun yas--real-mode? (mode)
- "Try to find out if MODE is a real mode.
-
-The MODE bound to a function (like `c-mode') is considered real
-mode. Other well known mode like `ruby-mode' which is not part of
-Emacs might not bound to a function until it is loaded. So
-yasnippet keeps a list of modes like this to help the judgment."
- (or (fboundp mode)
- (find mode yas--known-modes)))
-
(defun yas--handle-error (err)
"Handle error depending on value of `yas-good-grace'."
(let ((msg (yas--format "elisp error: %s" (error-message-string err))))
- [elpa] master 175e0a3 159/177: Clean up previous change, (continued)
- [elpa] master 175e0a3 159/177: Clean up previous change, João Távora, 2015/03/28
- [elpa] master 50ca8d3 160/177: Update README.mdown, João Távora, 2015/03/28
- [elpa] master bb6bbad 161/177: Add file doc/.nosearch, João Távora, 2015/03/28
- [elpa] master 9709dbd 164/177: Add autoload cookies, João Távora, 2015/03/28
- [elpa] master b62bdf3 163/177: Closes #546: backport `yas-initialize' and provide `yas/initialize', João Távora, 2015/03/28
- [elpa] master e161fc0 162/177: Merge pull request #542 from tarsius/nosearch, João Távora, 2015/03/28
- [elpa] master 07734a1 165/177: Clarify what happens with yas-new-snippet., João Távora, 2015/03/28
- [elpa] master 3c13348 167/177: yas-expand-snippet: Clarify EXPAND-ENV, João Távora, 2015/03/28
- [elpa] master 21ffe4b 168/177: Merge pull request #559 from mineo/patch-1, João Távora, 2015/03/28
- [elpa] master 197ef7f 166/177: Merge pull request #552 from treese/master, João Távora, 2015/03/28
- [elpa] master 3e7b56e 169/177: Implements #566: Remove dead major modes code,
João Távora <=
- [elpa] master b9989f8 170/177: Add a CONTRIBUTING.md file, João Távora, 2015/03/28
- [elpa] master 316435e 173/177: Closes #562: Deleting inner numberless snippet causes error, João Távora, 2015/03/28
- [elpa] master fc5052b 171/177: Merge pull request #568 from npostavs/contrib, João Távora, 2015/03/28
- [elpa] master 885237a 174/177: Add useful development assertion, João Távora, 2015/03/28
- [elpa] master a467019 175/177: `yas-minor-mode' assertion broke a test. Good. Fix it., João Távora, 2015/03/28
- [elpa] master d19ef74 172/177: Getting rid of low-level assumptions in yasnippet, João Távora, 2015/03/28
- [elpa] master 73701d9 176/177: Update packages/darkroom by merging its external subtree, João Távora, 2015/03/28
- [elpa] master 4f27187 062/177: refactor: removed extras and snippets tree, both point to submodules, João Távora, 2015/03/28
- [elpa] master 1cf9168 068/177: Merge branch 'unclutter': snippets and textmate importation snippets are now submodules, João Távora, 2015/03/28
- [elpa] master 39a27b6 177/177: Update packages/yasnippet by merging from its external upstream subtree, João Távora, 2015/03/28