]> code.delx.au - gnu-emacs-elpa/commit
Various cleanup
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 6 Apr 2016 03:48:01 +0000 (23:48 -0400)
committerNoam Postavsky <npostavs@users.sourceforge.net>
Fri, 8 Apr 2016 22:57:48 +0000 (18:57 -0400)
commit18f7b1b9fe99339f1bb350779ec43e26e8df1c5c
tree9335e495ad943d8da2c384a30b516b567c4667fb
parent6aeccce2f17aca6a59a2790ec08680d52c03f6c0
Various cleanup

* yasnippet/yasnippet.el: Add Package-Requires since we use cl-lib.
(yas-installed-snippets-dir, yas--default-user-snippets-dir)
(yas--load-directory-1, yas-load-snippet-buffer-and-close):
Use expand-file-name.
(yas-buffer-local-condition): Let's not quote lambdas.
(yas--modes-to-activate): Fix compiler warning about free `dfs' var and
unused return value of `mapcar'.
(yas-minor-mode): Don't confuse emulation-mode-map-alists for a hook.
(yas--font-lock-keywords): Don't hardcode the name of emacs-lisp-mode's
font-lock keywords.
(yas--calculate-group): Use file-relative-name.
(yas--subdirs): Don't mismatch \n in file name.
(yas-expand-from-trigger-key, yas-tryout-snippet): Prefer numbers to
number names.
(yas--guess-snippet-directories): Use expand-file-name rather than
removing&adding / by hand.
(yas--on-field-overlay-modification): Mark `length' as unused.
(yas--update-mirrors): Try to better fit within 80 columns.
(yas--backported-syms, yas--exported-syms): Don't mismatch \n in
symbol name.
yasnippet.el