Created
April 21, 2011 03:26
-
-
Save liangzan/933655 to your computer and use it in GitHub Desktop.
removes the magic comment for ruby mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ruby-mode/ruby-mode.el b/ruby-mode/ruby-mode.el | |
index 94cb9ab..d810146 100644 | |
--- a/ruby-mode/ruby-mode.el | |
+++ b/ruby-mode/ruby-mode.el | |
@@ -350,7 +350,7 @@ Also ignores spaces after parenthesis when 'space." | |
((forward-char))))) | |
(insert coding-system))) | |
((looking-at "\\s *#.*coding\\s *[:=]")) | |
- (t (insert "# -*- coding: " coding-system " -*-\n")) | |
+ (t (insert "")) | |
))))) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment