branch: elpa/inf-clojure
commit cf53284774865ac9f0a562e9703e11ff45d23ae7
Author: Austin Haas <aus...@pettomato.com>
Commit: Andrea Richiardi <a.richiardi.w...@gmail.com>

    Fix for https://github.com/clojure-emacs/inf-clojure/issues/154 (#158)
    
    [Fix #154] Use setq-local for comint-input-sender
---
 inf-clojure.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inf-clojure.el b/inf-clojure.el
index 6fe151e..e1cfa31 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -178,7 +178,7 @@ The following commands are available:
 
 \\{inf-clojure-minor-mode-map}"
   :lighter "" :keymap inf-clojure-minor-mode-map
-  (setq comint-input-sender 'inf-clojure--send-string)
+  (setq-local comint-input-sender 'inf-clojure--send-string)
   (inf-clojure-eldoc-setup)
   (make-local-variable 'completion-at-point-functions)
   (add-to-list 'completion-at-point-functions

Reply via email to