зеркало из https://github.com/github/ruby.git
* misc/ruby-mode.el (ruby-special-char-p): should test at the
point if no argument. fixed by Michael Scholz <scholz-micha@gmx.de>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
cd74de7314
Коммит
4cec316bbc
|
@ -1,3 +1,9 @@
|
|||
Wed Apr 16 00:14:06 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||
|
||||
* misc/ruby-mode.el (ruby-special-char-p): should test at the
|
||||
point if no argument. fixed by Michael Scholz
|
||||
<scholz-micha@gmx.de>.
|
||||
|
||||
Tue Apr 15 19:35:08 2003 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* lib/net/fileutils.rb: rm_r should raise Errno::ENOENT if file
|
||||
|
|
|
@ -282,7 +282,7 @@ The variable ruby-indent-level controls the amount of indentation.
|
|||
(move-to-column (+ x shift))))))
|
||||
|
||||
(defun ruby-special-char-p (&optional pnt)
|
||||
(let ((c (char-before pnt)))
|
||||
(let ((c (char-before (or pnt (point)))))
|
||||
(cond ((or (eq c ??) (eq c ?$)))
|
||||
((eq c ?\\)
|
||||
(eq (char-before (1- (or pnt (point)))) ??)))))
|
||||
|
|
Загрузка…
Ссылка в новой задаче