rst-mode indentation is non-deterministic, so inhibit electric indentation
This commit is contained in:
parent
d1e12aefa6
commit
b82ace2f23
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-01-06 Daniel Colascione <dancol@dancol.org>
|
||||
|
||||
* textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
|
||||
rst-mode.
|
||||
|
||||
2014-01-05 Martin Rudalics <rudalics@gmx.at>
|
||||
|
||||
* window.el (balance-windows): Add mising t to fix Bug#16351.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue