diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | misc/inf-ruby.el | 12 | ||||
-rw-r--r-- | object.c | 1 |
3 files changed, 14 insertions, 4 deletions
@@ -1,3 +1,8 @@ +Tue Jul 27 07:05:04 2004 Yukihiro Matsumoto <matz@ruby-lang.org> + + * object.c (Init_Object): "===" calls rb_obj_equal() directly. + [ruby-list:39937] + Mon Jul 26 11:22:55 2004 GOTOU Yuuzou <gotoyuzo@notwork.org> * lib/webrick/httputils.rb (WEBrick::HTTPUtils.escape): should diff --git a/misc/inf-ruby.el b/misc/inf-ruby.el index 0dda55dfda..d9e2348e6e 100644 --- a/misc/inf-ruby.el +++ b/misc/inf-ruby.el @@ -21,7 +21,7 @@ ;;; (setq interpreter-mode-alist (append '(("ruby" . ruby-mode)) ;;; interpreter-mode-alist)) ;;; -;;; (2) set to road inf-ruby and set inf-ruby key definition in ruby-mode. +;;; (2) set to load inf-ruby and set inf-ruby key definition in ruby-mode. ;;; ;;; (autoload 'run-ruby "inf-ruby" ;;; "Run an inferior Ruby process") @@ -35,16 +35,20 @@ ;;; HISTORY ;;; senda - 8 Apr 1998: Created. ;;; $Log$ +;;; Revision 1.6.2.1 2004/07/27 07:51:28 matz +;;; * object.c (Init_Object): "===" calls rb_obj_equal() directly. +;;; [ruby-list:39937] +;;; ;;; Revision 1.6 2002/09/07 14:35:46 nobu ;;; * misc/inf-ruby.el (inferior-ruby-error-regexp-alist): regexp ;;; alist for error message from ruby. -;;; +;;; ;;; * misc/inf-ruby.el (inferior-ruby-mode): fixed for Emacs. -;;; +;;; ;;; * misc/inf-ruby.el (ruby-send-region): compilation-parse-errors ;;; doesn't parse first line, so insert separators before each ;;; evaluations. -;;; +;;; ;;; Revision 1.5 2002/08/19 10:05:47 nobu ;;; * misc/inf-ruby.el (inf-ruby-keys): ruby-send-definition ;;; conflicted with ruby-insert-end. @@ -2584,6 +2584,7 @@ Init_Object() rb_define_method(rb_cSymbol, "to_s", sym_to_s, 0); rb_define_method(rb_cSymbol, "id2name", sym_to_s, 0); rb_define_method(rb_cSymbol, "to_sym", sym_to_sym, 0); + rb_define_method(rb_cSymbol, "===", rb_obj_equal, 1); rb_define_method(rb_cModule, "freeze", rb_mod_freeze, 0); rb_define_method(rb_cModule, "===", rb_mod_eqq, 1); |