summaryrefslogtreecommitdiff
path: root/lisp/textmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/rst.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el
index 724afcc275e..a533bdb75e3 100644
--- a/lisp/textmodes/rst.el
+++ b/lisp/textmodes/rst.el
@@ -864,7 +864,10 @@ highlighting.
(add-hook 'font-lock-extend-region-functions 'rst-font-lock-extend-region t)
;; Text after a changed line may need new fontification.
- (set (make-local-variable 'jit-lock-contextually) t))
+ (set (make-local-variable 'jit-lock-contextually) t)
+
+ ;; Indentation is not deterministic.
+ (setq electric-indent-inhibit t))
;;;###autoload
(define-minor-mode rst-minor-mode