summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/custom/my-text.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs/custom/my-text.el b/emacs/custom/my-text.el
index 80cdb32..37f9773 100644
--- a/emacs/custom/my-text.el
+++ b/emacs/custom/my-text.el
@@ -4,6 +4,14 @@
 
 ;;; Code:
 
+
+;; BUG: this is a work around for markdown-mode - without this, imenu
+;; won't work in that mode, which is preventing efficient navigation.
+;; The following link has more details:
+;; https://github.com/jrblevin/markdown-mode/issues/578#issuecomment-1126380098
+(require 'comp)
+(setq native-comp-deferred-compilation-deny-list '("markdown-mode\\.el$"))
+
 (require 'markdown-mode)
 (require 'ispell)
 (require 'abbrev)