Fix eval commands in nix-shell files
This commit is contained in:
parent
15d85a5c74
commit
a178b377a0
1 changed files with 5 additions and 1 deletions
|
@ -68,4 +68,8 @@
|
|||
(when mode
|
||||
(prog1 (set-auto-mode-0 mode)
|
||||
(when (eq major-mode 'sh-mode)
|
||||
(sh-set-shell interp)))))))))
|
||||
(sh-set-shell interp))
|
||||
;; HACK Without this, quickrun tries to evaluate code directly
|
||||
;; with (cached)?nix-shell.
|
||||
;; TODO Use the nix-shell/cached-nix-shell-given interpreter
|
||||
(setq-local quickrun-option-shebang nil))))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue