diff --git a/settings/completion-settings.el b/settings/completion-settings.el index 6602b04f..885419c9 100644 --- a/settings/completion-settings.el +++ b/settings/completion-settings.el @@ -109,7 +109,18 @@ ;; ivy-done completion for file, but opens dird mode for directories ;; ivy-alt-done complete dir or open file, but without entering any character it opens dird mode ;; ivy-immediate-done no completion - )) + ) + + ;; previously defined in tmm.el (removed by commit on Oct 24, 2020) + ;; counsel-tmm uses `tmm-get-keybind' + (defun tmm-get-keybind (keyseq) + "Return the current binding of KEYSEQ, merging prefix definitions. +If KEYSEQ is a prefix key that has local and global bindings, +we merge them into a single keymap which shows the proper order of the menu. +However, for the menu bar itself, the value does not take account +of `menu-bar-final-items'." + (lookup-key (cons 'keymap (nreverse (current-active-maps))) keyseq)) + ) ;;(setq tab-always-indent 'complete) ;; use 'complete when auto-complete is disabled