Add the when-not-wm macro

这个提交包含在:
Sameer Rahmani 2022-06-27 23:41:24 +01:00
父节点 695d452845
当前提交 2a00d784e7
共有 1 个文件被更改,包括 6 次插入0 次删除

查看文件

@ -177,6 +177,12 @@ is non-nil value it means that the function can be called interactively."
`(progn ,@body)
nil))
(defmacro when-not-wm (&rest body)
"Run the BODY only if not in the wm mode."
(if (not (string= (getenv "FG42_WM") "true"))
`(progn ,@body)
nil))
(defmacro fg42/log (tag args)
"If the debug is enabled log the give ARGS."