[Emacs] Set defun indent for imalison:use-package

This commit is contained in:
Ivan Malison 2016-09-22 13:08:07 -07:00
parent c53e791291
commit ce94315d36
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -274,7 +274,8 @@ Works in the same way as os.path.join in python
#+END_SRC
** Use Package Wrapper With Local Load Path Support
#+BEGIN_SRC emacs-lisp
(put 'imalison:use-package 'lisp-indent-function 1)
(put 'imalison:use-package 'lisp-indent-function 'defun)
(put 'imalison:use-package* 'lisp-indent-function 'defun)
(defmacro imalison:use-package* (package target-directory &rest forms)
(let* ((actual-target (if (file-exists-p target-directory)