Apply bound and true p to use of imalison:gpg-key

This commit is contained in:
Ivan Malison 2016-07-09 01:35:21 -07:00
parent b361becf98
commit 67d7336abd
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -507,8 +507,6 @@ imalison:named-build is a way to invoke a macro in such a way that the lambda th
"~/Projects")) "~/Projects"))
(symbol-name package)))) (symbol-name package))))
`(imalison:use-package* ,package ,target-directory ,@forms))) `(imalison:use-package* ,package ,target-directory ,@forms)))
#+END_SRC #+END_SRC
*** Advice Add Around Builder *** Advice Add Around Builder
For composing functions with an apply so that they can be used with the ~:around~ keyword of advice-add For composing functions with an apply so that they can be used with the ~:around~ keyword of advice-add
@ -1994,7 +1992,7 @@ This was stolen from https://github.com/jwiegley/dot-emacs
(progn (progn
(defvar-setq magit-last-seen-setup-instructions "1.4.0") (defvar-setq magit-last-seen-setup-instructions "1.4.0")
(magit-auto-revert-mode) (magit-auto-revert-mode)
(when imalison:gpg-key (when (bound-and-true-p imalison:gpg-key)
(add-to-list 'magit-commit-arguments (add-to-list 'magit-commit-arguments
(format "--gpg-sign=%s" imalison:gpg-key))) (format "--gpg-sign=%s" imalison:gpg-key)))
(use-package magit-filenotify (use-package magit-filenotify