diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-06 22:30:34 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-06 22:30:34 +0000 |
commit | 2d1c5d2c248938d0a957c2c811fcb40b7cf81e0b () | |
tree | 697d7bd0071857fd1b9218855f9d4debe923ab89 /misc/ruby-style.el | |
parent | 0771b987a46a7533a0af1e4e936a4339944511c1 (diff) |
* misc/*.el: merged the following es from Nathan Weizenbaum
<nex342 at gmail.com>. [ruby-core:18424] * misc/ruby-mode.el: improve here-doc performance. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | misc/ruby-style.el | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -21,7 +21,7 @@ (save-excursion (back-to-indentation) (unless (progn (backward-up-list) (back-to-indentation) - (> (point) (cdr x))) (goto-char (cdr x)) (if (looking-at "\\<case\\|default\\>") '*)))) @@ -29,14 +29,14 @@ (save-excursion (back-to-indentation) (unless (progn (backward-up-list) (back-to-indentation) - (>= (point) (cdr x))) (goto-char (cdr x)) (condition-case () - (progn - (backward-up-list) - (backward-sexp 2) - (if (looking-at "\\<switch\\>") '/)) - (error))))) (require 'cc-styles) (c-add-style |