Skip to content
This repository
tree: 9ffce19922
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 38 lines (37 sloc) 1.881 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
(:name yasnippet
       :website "https://github.com/capitaomorte/yasnippet.git"
       :description "YASnippet is a template system for Emacs."
       :type github
       :pkgname "capitaomorte/yasnippet"
       :features "yasnippet"
       ;; Set up the default snippets directory
       ;;
       ;; Principle: don't override any user settings for
       ;; yas/snippet-dirs, whether those were made with setq or
       ;; customize. If the user doesn't want the default snippets,
       ;; she shouldn't get them!
       :pre-init (unless (or (boundp 'yas/snippet-dirs)
                             (get 'yas/snippet-dirs 'customized-value))
                   (setq yas/snippet-dirs
                         (list (concat el-get-dir
                                       (file-name-as-directory "yasnippet")
                                       "snippets"))))
       ;; Trick customize into believing the standard value includes
       ;; the default snippets. yasnippet would probably do this
       ;; itself, except that it doesn't include an installation
       ;; procedure that sets up the snippets directory, and thus
       ;; doesn't know where those snippets will be installed. See
       ;; http://code.google.com/p/yasnippet/issues/detail?id=179
       :post-init (put 'yas/snippet-dirs 'standard-value
                       ;; as cus-edit.el specifies, "a cons-cell whose
                       ;; car evaluates to the standard value"
                       (list
                        (list
                         'quote
                         (list (concat el-get-dir
                                       (file-name-as-directory "yasnippet")
                                       "snippets")))))
       ;; byte-compile load vc-svn and that fails
       ;; see https://github.com/dimitri/el-get/issues/200
       :compile nil
       :submodule nil)
Something went wrong with that request. Please try again.