aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDmitry Gutov2013-12-22 06:57:00 +0200
committerDmitry Gutov2013-12-22 06:57:00 +0200
commit6cddebc11bdf10eabf55cac829d06bdec7afab89 (patch)
tree21e5020ee972ea89e4e2536475036757321e0ee0 /etc
parent44b9b800f1c67e89d1fe1442c68a1530a8e070d7 (diff)
downloademacs-6cddebc11bdf10eabf55cac829d06bdec7afab89.tar.gz
emacs-6cddebc11bdf10eabf55cac829d06bdec7afab89.zip
Integrate ruby-mode with electric-indent-mode better
* lisp/progmodes/ruby-mode.el (ruby--at-indentation-p): New function, extracted from `ruby-smie-rules'. (ruby--electric-indent-chars): New variable. (ruby--electric-indent-p): New function. (ruby-mode): Use `electric-indent-functions' instead of `electric-indent-chars'.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index f681068c1d9..42a81429778 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -599,6 +599,8 @@ rather than mboxo. Customize `unrmail-mbox-format' to change this.
599 599
600*** New option `ruby-align-to-stmt-keywords'. 600*** New option `ruby-align-to-stmt-keywords'.
601 601
602*** New `electric-indent-mode' integration.
603
602** Search and Replace 604** Search and Replace
603 605
604*** New global command `M-s .' (`isearch-forward-symbol-at-point') 606*** New global command `M-s .' (`isearch-forward-symbol-at-point')