mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
cd74de7314
commit
4cec316bbc
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
Tue Apr 15 19:35:08 2003 Minero Aoki <aamine@loveruby.net>
|
||||||
|
|
||||||
* lib/net/fileutils.rb: rm_r should raise Errno::ENOENT if file
|
* 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))))))
|
(move-to-column (+ x shift))))))
|
||||||
|
|
||||||
(defun ruby-special-char-p (&optional pnt)
|
(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 ?$)))
|
(cond ((or (eq c ??) (eq c ?$)))
|
||||||
((eq c ?\\)
|
((eq c ?\\)
|
||||||
(eq (char-before (1- (or pnt (point)))) ??)))))
|
(eq (char-before (1- (or pnt (point)))) ??)))))
|
||||||
|
|
Loading…
Reference in a new issue