Skip to content

Commit

Permalink
Fix warning: Assignment to free variable make-window-start-visible
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescherti committed Nov 24, 2024
1 parent 5f440ec commit c10ac32
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions outline-indent.el
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,9 @@ This mode sets up outline to work based on indentation."
(outline-indent--update-ellipsis)

;; Ensures that window-start is never invisible
(setq-local make-window-start-visible
outline-indent-make-window-start-visible)
(when (boundp 'make-window-start-visible)
(setq-local make-window-start-visible
outline-indent-make-window-start-visible))

(when outline-indent-advise-outline-functions
;; Advise the built-in `outline-mode' and `outline-minor-mode'
Expand Down

0 comments on commit c10ac32

Please sign in to comment.