summaryrefslogtreecommitdiff
path: root/mu4e/meson.build
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2025-01-15 23:02:47 +0200
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2025-01-15 23:02:47 +0200
commita93a41f8ee8f5144069d8a7e9bcd7d0b76cc6ed8 (patch)
treeb8895c19a1e267e13e82caed77be2b3da49fb47d /mu4e/meson.build
parent29816d595279b20e8ec1d5e05eabc89058435a97 (diff)
mu4e: implement experimental transient menu
Add a first version of a "transient" menu for mu4e. It's just a starting point. It's not yet bound to any key, but you could e.g. add (require 'mu4e-transient) (global-set-key (kbd "C-c m") #'mu4e-transient-menu)
Diffstat (limited to 'mu4e/meson.build')
-rw-r--r--mu4e/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/mu4e/meson.build b/mu4e/meson.build
index da3e2da..cfccce1 100644
--- a/mu4e/meson.build
+++ b/mu4e/meson.build
@@ -72,6 +72,13 @@ mu4e_srcs=[
'mu4e-window.el'
]
+# emacs 28 is guaranteed to have transient
+# not very elegant, but
+# https://stackoverflow.com/questions/49221792/byte-compile-file-only-when-library-is-found
+if emacs28.found()
+ mu4e_srcs += 'mu4e-transient.el'
+endif
+
# note, we cannot compile mu4e-config.el without incurring
# WARNING: Source item
# '[...]/build/mu4e/mu4e-meta.el' cannot be converted to File object, because