diff --git a/README.org b/README.org index 2ea69a4..5877f77 100644 --- a/README.org +++ b/README.org @@ -87,6 +87,9 @@ If you experience issues with Emacs not recognizing these bindings when running + Add ~outshine-define-key~ macro for defining conditional key bindings (e.g. on headlines). Improves on previous ~outshine-define-key-with-fallback~ macro by interning a named function and matching the function signature of ~define-key~. + Bind @@html:@@ @@html:@@ to ~outshine-cycle-buffer~ on headlines +*Fixed* ++ More fully override Imenu configuration when using ~outshine-imenu~. ([[https://github.com/alphapapa/outshine/pull/93][#93]]. Thanks to [[https://github.com/dankessler][Dan Kessler]].) + *Deprecated* + Declare ~outshine-define-key-with-fallback~ as obsolete, use ~outshine-define-key~ instead diff --git a/outshine.el b/outshine.el index 93a6a01..6e57e15 100644 --- a/outshine.el +++ b/outshine.el @@ -2143,6 +2143,7 @@ i.e. the text following the regexp match until the next space character." outshine-imenu-generic-expression) (imenu-prev-index-position-function nil) (imenu-extract-index-name-function nil) + (imenu-create-index-function 'imenu-default-create-index-function) (imenu-auto-rescan t) (imenu-auto-rescan-maxout 360000)) ;; prefer idomenu @@ -2173,6 +2174,7 @@ i.e. the text following the regexp match until the next space character." outshine-imenu-default-generic-expression) (imenu-prev-index-position-function nil) (imenu-extract-index-name-function nil) + (imenu-create-index-function 'imenu-default-create-index-function) (imenu-auto-rescan t) (imenu-auto-rescan-maxout 360000)) ;; prefer idomenu