diff options
| author | Stefan Monnier | 2014-07-05 14:37:45 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2014-07-05 14:37:45 -0400 |
| commit | d66146bf1851fd65a903b1b67b3deee3aba2082e (patch) | |
| tree | 55ff4eb564f3804c7b3e1f863611db20b9d7b070 | |
| parent | bff2d1ffc49d635a7545fd31786ac9e6966016ba (diff) | |
| download | emacs-d66146bf1851fd65a903b1b67b3deee3aba2082e.tar.gz emacs-d66146bf1851fd65a903b1b67b3deee3aba2082e.zip | |
* lisp/progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
require-final-newline since prog-mode already took care of it.
Fixes: debbugs:17947
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e9c492dc013..b34f9cf1fef 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with | ||
| 4 | require-final-newline since prog-mode already took care of it (bug#17947). | ||
| 5 | |||
| 1 | 2014-07-04 Stephen Berman <stephen.berman@gmx.net> | 6 | 2014-07-04 Stephen Berman <stephen.berman@gmx.net> |
| 2 | 7 | ||
| 3 | * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and | 8 | * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and |
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 3c20279600e..2f23e338f81 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -749,7 +749,6 @@ It is used when `ruby-encoding-magic-comment-style' is set to `custom'." | |||
| 749 | :forward-token #'ruby-smie--forward-token | 749 | :forward-token #'ruby-smie--forward-token |
| 750 | :backward-token #'ruby-smie--backward-token) | 750 | :backward-token #'ruby-smie--backward-token) |
| 751 | (setq-local indent-line-function 'ruby-indent-line)) | 751 | (setq-local indent-line-function 'ruby-indent-line)) |
| 752 | (setq-local require-final-newline t) | ||
| 753 | (setq-local comment-start "# ") | 752 | (setq-local comment-start "# ") |
| 754 | (setq-local comment-end "") | 753 | (setq-local comment-end "") |
| 755 | (setq-local comment-column ruby-comment-column) | 754 | (setq-local comment-column ruby-comment-column) |