Skip to content

Commit 3e22747

Browse files
committed
Use setq-local
1 parent 421b265 commit 3e22747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inf-clojure.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ to continue it."
271271
(inf-clojure-eldoc-setup)
272272
(setq comint-get-old-input #'inf-clojure-get-old-input)
273273
(setq comint-input-filter #'inf-clojure-input-filter)
274-
(set (make-local-variable 'comint-prompt-read-only) inf-clojure-prompt-read-only)
274+
(setq-local comint-prompt-read-only inf-clojure-prompt-read-only)
275275
(add-hook 'comint-preoutput-filter-functions #'inf-clojure-preoutput-filter nil t)
276276
(add-hook 'completion-at-point-functions #'inf-clojure-completion-at-point nil t))
277277

0 commit comments

Comments
 (0)