emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r115882: rst-mode indentation is non-deterministic,


From: Daniel Colascione
Subject: [Emacs-diffs] trunk r115882: rst-mode indentation is non-deterministic, so inhibit electric indentation
Date: Mon, 06 Jan 2014 03:59:27 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115882
revision-id: address@hidden
parent: address@hidden
committer: Daniel Colascione <address@hidden>
branch nick: trunk
timestamp: Sun 2014-01-05 19:58:59 -0800
message:
  rst-mode indentation is non-deterministic, so inhibit electric indentation
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/textmodes/rst.el          rst.el-20091113204419-o5vbwnq5f7feedwu-8690
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-01-05 16:29:44 +0000
+++ b/lisp/ChangeLog    2014-01-06 03:58:59 +0000
@@ -1,3 +1,8 @@
+2014-01-06  Daniel Colascione  <address@hidden>
+
+       * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
+       rst-mode.
+
 2014-01-05  Martin Rudalics  <address@hidden>
 
        * window.el (balance-windows): Add mising t to fix Bug#16351.

=== modified file 'lisp/textmodes/rst.el'
--- a/lisp/textmodes/rst.el     2014-01-01 07:43:34 +0000
+++ b/lisp/textmodes/rst.el     2014-01-06 03:58:59 +0000
@@ -864,7 +864,10 @@
   (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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]