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 03a3fc1 commit 3edb71a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler-explorer.el
Original file line number Diff line number Diff line change
Expand Up @@ -1108,10 +1108,10 @@ It must have been created with `compiler-explorer--current-session'."
(bufferp (get-buffer compiler-explorer--buffer)))

(defvar compiler-explorer-mode-map (make-sparse-keymap)
"Keymap used in `compiler-explorer-mode'.")
"Keymap used in all compiler explorer buffers.")

(define-minor-mode compiler-explorer--local-mode
"Minor mode used in compiler explorer buffers."
"Minor mode used in all compiler explorer buffers."
:interactive nil
:lighter " CE"
:keymap compiler-explorer-mode-map
Expand Down

0 comments on commit 3edb71a

Please sign in to comment.