Skip to content

Commit

Permalink
fixup! Rework setting local vars to be more robust using global minor…
Browse files Browse the repository at this point in the history
… mode
  • Loading branch information
mkcms committed Jun 3, 2024
1 parent cdea832 commit 03a3fc1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion compiler-explorer.el
Original file line number Diff line number Diff line change
Expand Up @@ -1151,8 +1151,10 @@ It must have been created with `compiler-explorer--current-session'."
(define-globalized-minor-mode compiler-explorer-mode
compiler-explorer--local-mode
compiler-explorer--local-mode-maybe-enable
:lighter ""
(unless compiler-explorer-mode
(compiler-explorer--cleanup)))
(when (compiler-explorer--active-p)
(compiler-explorer--cleanup))))

(defun compiler-explorer--define-menu ()
"Define a menu in the menu bar for `compiler-explorer' commands."
Expand Down

0 comments on commit 03a3fc1

Please sign in to comment.