Skip to content

Commit

Permalink
compilation: fix make-variable-buffer-local (needs to be at top-level)
Browse files Browse the repository at this point in the history
  • Loading branch information
terlar committed Aug 2, 2023
1 parent 7b3149d commit 94ede04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion init.org
Original file line number Diff line number Diff line change
Expand Up @@ -2075,8 +2075,9 @@ nothing happens."
(setq compilation-ask-about-save nil)
(setq compilation-scroll-output t)

(make-variable-buffer-local 'compile-command)
(put 'compile-command 'safe-local-variable 'stringp))

(make-variable-buffer-local 'compile-command)
#+end_src

*** ANSI escape
Expand Down

0 comments on commit 94ede04

Please sign in to comment.