Polish helm support + add in! macro
This commit is contained in:
parent
2bfe7670c2
commit
66abf1522c
3 changed files with 52 additions and 41 deletions
|
@ -28,6 +28,11 @@ during compilation."
|
|||
'with-no-warnings)
|
||||
(with-eval-after-load ',feature ,@forms)))
|
||||
|
||||
(defmacro in! (dir &rest forms)
|
||||
(declare (indent defun))
|
||||
`(let ((default-directory ,dir))
|
||||
,@forms))
|
||||
|
||||
(defmacro add-hook! (hook &rest func-or-forms)
|
||||
"A convenience macro for `add-hook'.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue