зеркало из https://github.com/github/ruby.git
* misc/ruby-style.el (ruby-style-label-indent): fix for labels inside
blocks in switch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
f468e000ce
Коммит
f11ac55489
|
@ -1,3 +1,8 @@
|
|||
Sun Feb 24 05:09:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* misc/ruby-style.el (ruby-style-label-indent): fix for labels inside
|
||||
blocks in switch.
|
||||
|
||||
Sun Feb 24 03:52:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* util.c (valid_filename): use O_EXCL to get rid of clobbering
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
(defun ruby-style-label-indent (x)
|
||||
(save-excursion
|
||||
(unless (progn (backward-up-list) (back-to-indentation)
|
||||
(> (point) (cdr x)))
|
||||
(>= (point) (cdr x)))
|
||||
(goto-char (cdr x))
|
||||
(condition-case ()
|
||||
(progn
|
||||
|
|
Загрузка…
Ссылка в новой задаче