Wilfred / elisp-refs

semantic code search for emacs lisp
119 stars 18 forks source link

Remove kill buffer key binding #42

Closed wyuenho closed 1 year ago

wyuenho commented 1 year ago

elisp-refs-mode derives from special-mode, which already has q bound to quit-window. Most special mode derivatives leave this alone so quit-restore-window can decide what's the right thing to do next. With q bound to kill-buffer, quit-restore-window doesn't have a chance to run and leaves a duplicate window showing some already shown buffer when window managers like window-purpose is active.

Wilfred commented 1 year ago

Makes sense, thanks!