Kaydet (Commit) a81fb33c authored tarafından Barry Warsaw's avatar Barry Warsaw

(py-shell): comint-output-filter-functions is already buffer-local

üst 3c96f6f3
...@@ -1198,7 +1198,6 @@ filter." ...@@ -1198,7 +1198,6 @@ filter."
(apply 'make-comint py-which-bufname py-which-shell nil py-which-args)) (apply 'make-comint py-which-bufname py-which-shell nil py-which-args))
(make-local-variable 'comint-prompt-regexp) (make-local-variable 'comint-prompt-regexp)
(setq comint-prompt-regexp "^>>> \\|^[.][.][.] \\|^(pdb) ") (setq comint-prompt-regexp "^>>> \\|^[.][.][.] \\|^(pdb) ")
(make-local-variable 'comint-output-filter-functions)
(add-hook 'comint-output-filter-functions 'py-comint-output-filter-function) (add-hook 'comint-output-filter-functions 'py-comint-output-filter-function)
(set-syntax-table py-mode-syntax-table) (set-syntax-table py-mode-syntax-table)
;; set up keybindings for this subshell ;; set up keybindings for this subshell
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment