diff options
| author | Dmitry Gutov | 2013-12-22 06:57:00 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2013-12-22 06:57:00 +0200 |
| commit | 6cddebc11bdf10eabf55cac829d06bdec7afab89 (patch) | |
| tree | 21e5020ee972ea89e4e2536475036757321e0ee0 /etc | |
| parent | 44b9b800f1c67e89d1fe1442c68a1530a8e070d7 (diff) | |
| download | emacs-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/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -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') |