commit | author | age
|
5cb5f7
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file uses dynamic docstrings, first added in Emacs 19.29. |
|
7 |
|
|
8 |
;;; This file does not contain utf-8 non-ASCII characters, |
|
9 |
;;; and so can be loaded in Emacs versions earlier than 23. |
|
10 |
|
|
11 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
12 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
13 |
|
|
14 |
|
|
15 |
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310\311\312\313\314&\207" [require cl-lib eldoc easymenu help-mode custom-declare-group yasnippet nil "Yet Another Snippet extension" :prefix "yas-" :group editing] 8) |
|
16 |
#@43 Directory that yasnippet was loaded from. |
|
17 |
(defconst yas--loaddir (byte-code "\302\206 !\207" [load-file-name buffer-file-name file-name-directory] 2) (#$ . 654)) |
|
18 |
(defconst yas-installed-snippets-dir (expand-file-name "snippets" yas--loaddir)) |
|
19 |
(make-obsolete-variable 'yas-installed-snippets-dir "Yasnippet no longer comes with installed snippets" "0.13") |
|
20 |
(defconst yas--default-user-snippets-dir (expand-file-name "snippets" user-emacs-directory)) |
|
21 |
#@358 List of top-level snippet directories. |
|
22 |
|
|
23 |
Each element, a string or a symbol whose value is a string, |
|
24 |
designates a top-level directory where per-mode snippet |
|
25 |
directories can be found. |
|
26 |
|
|
27 |
Elements appearing earlier in the list override later elements' |
|
28 |
snippets. |
|
29 |
|
|
30 |
The first directory is taken as the default for storing snippet's |
|
31 |
created with `yas-new-snippet'. |
|
32 |
(custom-declare-variable 'yas-snippet-dirs '(list yas--default-user-snippets-dir) '(#$ . 1112) :type '(choice (directory :tag "Single directory") (repeat :tag "List of directories" (choice (directory) (variable)))) :set #[(symbol new) "\303!\205 J\304\n\"\210\305\306!?\206 \n\232?\205 \306 )\207" [symbol old new boundp set-default fboundp yas-reload-all] 3]) |
|
33 |
#@56 Return variable `yas-snippet-dirs' as list of strings. |
|
34 |
(defalias 'yas-snippet-dirs #[nil "<\203 |