summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimeon Simeonov2016-11-17 13:30:23 +0100
committerSimeon Simeonov2016-11-17 13:30:23 +0100
commit27eb5412df5b4971fa9facb5241db6be52bf37c1 (patch)
treee8a30245369964c0dc449bbb051b307f6813b420
parentdd45f87fb33f3c28a5ac2b3edd72dc7ba1ede45e (diff)
Upgraded yasnippet and mode-yaml
-rw-r--r--.emacs.d/lisp/yaml-mode.el8
-rw-r--r--.emacs.d/lisp/yasnippet.el19
2 files changed, 15 insertions, 12 deletions
diff --git a/.emacs.d/lisp/yaml-mode.el b/.emacs.d/lisp/yaml-mode.el
index 2cc7392..44650be 100644
--- a/.emacs.d/lisp/yaml-mode.el
+++ b/.emacs.d/lisp/yaml-mode.el
@@ -7,7 +7,7 @@
7;; Maintainer: Vasilij Schneidermann <v.schneidermann@gmail.com> 7;; Maintainer: Vasilij Schneidermann <v.schneidermann@gmail.com>
8;; Package-Requires: ((emacs "24.1")) 8;; Package-Requires: ((emacs "24.1"))
9;; Keywords: data yaml 9;; Keywords: data yaml
10;; Version: 0.0.12 10;; Version: 0.0.13
11 11
12;; This file is not part of Emacs 12;; This file is not part of Emacs
13 13
@@ -117,7 +117,7 @@ that key is pressed to begin a block literal."
117 117
118;; Constants 118;; Constants
119 119
120(defconst yaml-mode-version "0.0.12" "Version of `yaml-mode'.") 120(defconst yaml-mode-version "0.0.13" "Version of `yaml-mode'.")
121 121
122(defconst yaml-blank-line-re "^ *$" 122(defconst yaml-blank-line-re "^ *$"
123 "Regexp matching a line containing only (valid) whitespace.") 123 "Regexp matching a line containing only (valid) whitespace.")
@@ -190,7 +190,7 @@ that key is pressed to begin a block literal."
190 (define-key map ">" 'yaml-electric-bar-and-angle) 190 (define-key map ">" 'yaml-electric-bar-and-angle)
191 (define-key map "-" 'yaml-electric-dash-and-dot) 191 (define-key map "-" 'yaml-electric-dash-and-dot)
192 (define-key map "." 'yaml-electric-dash-and-dot) 192 (define-key map "." 'yaml-electric-dash-and-dot)
193 (define-key map [backspace] 'yaml-electric-backspace) 193 (define-key map (kbd "DEL") 'yaml-electric-backspace)
194 map) 194 map)
195 "Keymap used in `yaml-mode' buffers.") 195 "Keymap used in `yaml-mode' buffers.")
196 196
@@ -201,7 +201,7 @@ that key is pressed to begin a block literal."
201 (modify-syntax-entry ?# "<" syntax-table) 201 (modify-syntax-entry ?# "<" syntax-table)
202 (modify-syntax-entry ?\n ">" syntax-table) 202 (modify-syntax-entry ?\n ">" syntax-table)
203 (modify-syntax-entry ?\\ "\\" syntax-table) 203 (modify-syntax-entry ?\\ "\\" syntax-table)
204 (modify-syntax-entry ?- "w" syntax-table) 204 (modify-syntax-entry ?- "_" syntax-table)
205 (modify-syntax-entry ?_ "_" syntax-table) 205 (modify-syntax-entry ?_ "_" syntax-table)
206 (modify-syntax-entry ?\( "." syntax-table) 206 (modify-syntax-entry ?\( "." syntax-table)
207 (modify-syntax-entry ?\) "." syntax-table) 207 (modify-syntax-entry ?\) "." syntax-table)
diff --git a/.emacs.d/lisp/yasnippet.el b/.emacs.d/lisp/yasnippet.el
index 3f9660e..c308c9b 100644
--- a/.emacs.d/lisp/yasnippet.el
+++ b/.emacs.d/lisp/yasnippet.el
@@ -5,10 +5,10 @@
5;; João Távora <joaotavora@gmail.com>, 5;; João Távora <joaotavora@gmail.com>,
6;; Noam Postavsky <npostavs@gmail.com> 6;; Noam Postavsky <npostavs@gmail.com>
7;; Maintainer: Noam Postavsky <npostavs@gmail.com> 7;; Maintainer: Noam Postavsky <npostavs@gmail.com>
8;; Version: 0.10.0 8;; Version: 0.11.0
9;; X-URL: http://github.com/capitaomorte/yasnippet 9;; X-URL: http://github.com/joaotavora/yasnippet
10;; Keywords: convenience, emulation 10;; Keywords: convenience, emulation
11;; URL: http://github.com/capitaomorte/yasnippet 11;; URL: http://github.com/joaotavora/yasnippet
12;; Package-Requires: ((cl-lib "0.5")) 12;; Package-Requires: ((cl-lib "0.5"))
13;; EmacsWiki: YaSnippetMode 13;; EmacsWiki: YaSnippetMode
14 14
@@ -127,7 +127,7 @@
127;; `custom-set-variables' is executed in your .emacs file. 127;; `custom-set-variables' is executed in your .emacs file.
128;; 128;;
129;; For more information and detailed usage, refer to the project page: 129;; For more information and detailed usage, refer to the project page:
130;; http://github.com/capitaomorte/yasnippet 130;; http://github.com/joaotavora/yasnippet
131 131
132;;; Code: 132;;; Code:
133 133
@@ -514,7 +514,7 @@ snippet itself contains a condition that returns the symbol
514 514
515;;; Internal variables 515;;; Internal variables
516 516
517(defconst yas--version "0.10.0") 517(defconst yas--version "0.11.0")
518 518
519(defvar yas--menu-table (make-hash-table) 519(defvar yas--menu-table (make-hash-table)
520 "A hash table of MAJOR-MODE symbols to menu keymaps.") 520 "A hash table of MAJOR-MODE symbols to menu keymaps.")
@@ -1876,9 +1876,12 @@ prefix argument."
1876 (yas-direct-keymaps-reload) 1876 (yas-direct-keymaps-reload)
1877 1877
1878 (run-hooks 'yas-after-reload-hook) 1878 (run-hooks 'yas-after-reload-hook)
1879 (yas--message (if errors 2 3) "Reloaded everything%s...%s." 1879 (yas--message (if errors 2 3)
1880 (if no-jit "" " (snippets will load just-in-time)") 1880 (if no-jit "Snippets loaded %s."
1881 (if errors " (some errors, check *Messages*)" ""))))) 1881 "Prepared just-in-time loading of snippets %s.")
1882 (if errors
1883 "with some errors. Check *Messages*"
1884 "successfully")))))
1882 1885
1883(defvar yas-after-reload-hook nil 1886(defvar yas-after-reload-hook nil
1884 "Hooks run after `yas-reload-all'.") 1887 "Hooks run after `yas-reload-all'.")