Commit 012479a7 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/progmodes/sh-script.el: Don't set global indent-line-function

Fixes: debbugs:19433

(sh-set-shell): Don't change the global value of indent-line-function.
parent 75e114fa
2014-12-23 Stefan Monnier <>
* progmodes/sh-script.el (sh-set-shell): Don't change the global value
of indent-line-function (bug#19433).
2014-12-23 Fabián Ezequiel Gallina <>
Fix line numbers on Python shell.
......@@ -2350,7 +2350,7 @@ Calls the value of `sh-set-shell-hook' if set."
(message "Indentation setup for shell type %s" sh-shell))
(message "No indentation for this shell type.")
(setq indent-line-function 'sh-basic-indent-line))
(setq-local indent-line-function 'sh-basic-indent-line))
(when font-lock-mode
(setq font-lock-set-defaults nil)
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