[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r115040: * lisp/progmodes/ruby-mode.el (ruby-mode-se
From: |
Bozhidar Batsov |
Subject: |
[Emacs-diffs] trunk r115040: * lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding): |
Date: |
Fri, 08 Nov 2013 21:43:15 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 115040
revision-id: address@hidden
parent: address@hidden
committer: Bozhidar Batsov <address@hidden>
branch nick: master
timestamp: Fri 2013-11-08 23:41:25 +0200
message:
* lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding):
Fix incorrect case conditions.
modified:
lisp/progmodes/ruby-mode.el
rubymode.el-20091113204419-o5vbwnq5f7feedwu-8804
=== modified file 'lisp/progmodes/ruby-mode.el'
--- a/lisp/progmodes/ruby-mode.el 2013-11-08 21:23:11 +0000
+++ b/lisp/progmodes/ruby-mode.el 2013-11-08 21:41:25 +0000
@@ -655,9 +655,9 @@
(t (when ruby-insert-encoding-magic-comment
(let ((encoding-magic-comment-template
(case ruby-encoding-magic-comment-style
- ('ruby "# coding: %s")
- ('emacs "# -*- coding: %s -*-")
- ('custom
ruby-custom-encoding-magic-comment-template))))
+ (ruby "# coding: %s")
+ (emacs "# -*- coding: %s -*-")
+ (custom
ruby-custom-encoding-magic-comment-template))))
(insert
(format encoding-magic-comment-template coding-system)
"\n")))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r115040: * lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding):,
Bozhidar Batsov <=