dengste / minimap

Sidebar showing a "mini-map" of a buffer
168 stars 14 forks source link

If minimap-major-mode is set to nil, we can not manually create minimap for desired buffer. #17

Open larebsyed opened 6 years ago

larebsyed commented 6 years ago

Expected behavior: minimap-new-minimap should create a minimap for active buffer

Actual Behavior: Nothing happens

Debugger Trace:

` (wrong-type-argument window-live-p nil)

(nil norecord)

ad-Advice-select-window(# nil norecord)

apply(ad-Advice-select-window # (nil norecord))

f(advice-wrapper :around # ad-Advice-select-window)(nil norecord)

apply(#f(advice-wrapper :around # ad-Advice-select-window) (nil norecord))

select-window(nil norecord)

minimap-new-minimap()

funcall-interactively(minimap-new-minimap)

call-interactively(minimap-new-minimap record nil)

command-execute(minimap-new-minimap record)

helm-M-x(nil #("minimap-new-minimap" 0 19 (match-part "minimap-new-minimap")))

funcall-interactively(helm-M-x nil #("minimap-new-minimap" 0 19 (match-part "minimap-new-minimap")))

call-interactively(helm-M-x nil nil)

command-execute(helm-M-x) `