summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-08-17 09:02:40 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-08-17 09:02:40 +0000
commit613f7c56f789762d3fabfd92ca7c16e00bae8415 (patch)
tree922299c561755f4a987420495fbf1392ef7ea1cc /misc
parent9c4cc1d1ef45f995ebd728d821352bb6224e3929 (diff)
downloadruby-613f7c56f789762d3fabfd92ca7c16e00bae8415.tar.gz
ruby-613f7c56f789762d3fabfd92ca7c16e00bae8415.tar.xz
ruby-613f7c56f789762d3fabfd92ca7c16e00bae8415.zip
* io.c (rb_io_reopen): should clear allocated OpenFile. pointed
out by Guy Decoux. [ruby-core:03288] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc')
-rw-r--r--misc/ruby-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index e4998cc59..462ec609b 100644
--- a/misc/ruby-mode.el
+++ b/misc/ruby-mode.el
@@ -779,7 +779,7 @@ An end of a defun is found by moving forward from the beginning of one."
(if done
(save-excursion
(back-to-indentation)
- (if (looking-at (concat ("\\<\\(" ruby-block-mid-re "\\)\\>")))
+ (if (looking-at (concat "\\<\\(" ruby-block-mid-re "\\)\\>"))
(setq done nil))))))
(back-to-indentation))