abo-abo / ace-window

Quickly switch windows in Emacs
970 stars 86 forks source link

Window number overlays are missing unless ace-window-display-mode is enabled #174

Closed drgillis closed 5 years ago

drgillis commented 5 years ago

The window number overlay fails to show up unless ace-window-display-mode is enabled and aw-display-mode-overlay is non-nil, which means that if ace-window-display-mode is disabled, there is no way to have the overlay appear. This seems to be a direct consequence from the addition of the conditional in the following lines in the most recent commit (in ace-window.el in the aw-select function, lines 552-555):

(if (and ace-window-display-mode
         aw-display-mode-overlay)
    #'aw--lead-overlay
  (lambda (_path _leaf)))
abo-abo commented 5 years ago

Thanks, fixed. Sorry for introducing this silly bug.