Add dbg macro
This commit is contained in:
parent
893a673616
commit
ccaf60abbd
@ -134,4 +134,10 @@
|
||||
(kill-new (message rand)))
|
||||
rand))
|
||||
|
||||
(defmacro dbg (form)
|
||||
"Print the value of FORM and return it."
|
||||
`(progn
|
||||
(message (format "%s: %s" ',form ,form))
|
||||
,form))
|
||||
|
||||
(provide 'init-lib)
|
||||
|
Loading…
Reference in New Issue
Block a user