update packages
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
;;; yasnippet-snippets.el --- Collection of yasnippet snippets
|
||||
;;; yasnippet-snippets.el --- Collection of yasnippet snippets -*- lexical-binding: t -*-
|
||||
|
||||
;; Copyright (C) 2017 Andrea Crotti
|
||||
|
||||
@@ -49,8 +49,9 @@
|
||||
;; NOTE: we add the symbol `yasnippet-snippets-dir' rather than its
|
||||
;; value, so that yasnippet will automatically find the directory
|
||||
;; after this package is updated (i.e., moves directory).
|
||||
(add-to-list 'yas-snippet-dirs 'yasnippet-snippets-dir t)
|
||||
(yas--load-snippet-dirs))
|
||||
(unless (member 'yasnippet-snippets-dir yas-snippet-dirs)
|
||||
(add-to-list 'yas-snippet-dirs 'yasnippet-snippets-dir t)
|
||||
(yas--load-snippet-dirs)))
|
||||
|
||||
(defgroup yasnippet-snippets nil
|
||||
"Options for yasnippet setups.
|
||||
@@ -62,10 +63,6 @@ customizable variable used for a snippet expansion.
|
||||
See Info node `(elisp)Customization Types'."
|
||||
:group 'yasnippet)
|
||||
|
||||
(defun yasnippet-snippets--fixed-indent ()
|
||||
"Set `yas-indent-line' to `fixed'."
|
||||
(set (make-local-variable 'yas-indent-line) 'fixed))
|
||||
|
||||
(defun yasnippet-snippets--no-indent ()
|
||||
"Set `yas-indent-line' to nil."
|
||||
(set (make-local-variable 'yas-indent-line) nil))
|
||||
|
||||
Reference in New Issue
Block a user