Skip to content

Commit

Permalink
feat(sideline.el): Ensure no invalid backend
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed May 2, 2024
1 parent c8cd58a commit b8a2faf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sideline.el
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@

(defun sideline--enable ()
"Enable `sideline' in current buffer."
(setq sideline-backends-left (cl-remove-if #'null sideline-backends-left)
sideline-backends-right (cl-remove-if #'null sideline-backends-right))
;; XXX: Still don't know why local variable doesn't work!
(progn
(sideline--delete-ovs)
Expand Down

0 comments on commit b8a2faf

Please sign in to comment.