diff options
author | 2020-09-27 12:06:44 -0400 | |
---|---|---|
committer | 2020-09-27 12:07:10 -0400 | |
commit | c84be134273e6baa0633d194c9524658e221ee7f (patch) | |
tree | f4875124e79efae46b2f275a8c7e4d6629abe6b8 /lisp/bandali-yasnippet.el | |
parent | c49fa11a90f9b17159062e3ab2f4a960f1048ffd (diff) | |
download | configs-c84be134273e6baa0633d194c9524658e221ee7f.tar.gz configs-c84be134273e6baa0633d194c9524658e221ee7f.tar.xz configs-c84be134273e6baa0633d194c9524658e221ee7f.zip |
Drop use-package
along with some unused stuff
Diffstat (limited to '')
-rw-r--r-- | lisp/bandali-yasnippet.el | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/lisp/bandali-yasnippet.el b/lisp/bandali-yasnippet.el deleted file mode 100644 index 6cdbc7a..0000000 --- a/lisp/bandali-yasnippet.el +++ /dev/null @@ -1,26 +0,0 @@ -(use-package yasnippet - :defer 0.6 - :config - (declare-function yas-reload-all - "yasnippet" (&optional no-jit interactive)) - (declare-function yas-maybe-expand-abbrev-key-filter - "yasnippet" (cmd)) - - (defconst yas-verbosity-cur yas-verbosity) - (setq yas-verbosity 2) - (add-to-list 'yas-snippet-dirs "~/src/git/guix/etc/snippets" t) - (yas-reload-all) - (setq yas-verbosity yas-verbosity-cur) - - (defun b/yas-maybe-expand-abbrev-key-filter (cmd) - (when (and (yas-maybe-expand-abbrev-key-filter cmd) - (not (bound-and-true-p git-commit-mode))) - cmd)) - (defconst b/yas-maybe-expand - '(menu-item "" yas-expand :filter b/yas-maybe-expand-abbrev-key-filter)) - (define-key yas-minor-mode-map - (kbd "SPC") b/yas-maybe-expand) - - (yas-global-mode)) - -(provide 'bandali-yasnippet) |