summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
Diffstat (limited to 'sample')
-rw-r--r--sample/ruby-mode.el2
-rw-r--r--sample/test.rb2
2 files changed, 1 insertions, 3 deletions
diff --git a/sample/ruby-mode.el b/sample/ruby-mode.el
index e33a164bd9..33e9d2ce4d 100644
--- a/sample/ruby-mode.el
+++ b/sample/ruby-mode.el
@@ -141,7 +141,7 @@ The variable ruby-indent-level controls the amount of indentation.
(use-local-map ruby-mode-map)
(setq mode-name "ruby")
(setq major-mode 'ruby-mode)
- (ruby-mode-variable)
+ (ruby-mode-variables)
(run-hooks 'ruby-mode-hook))
(defun ruby-current-indentation ()
diff --git a/sample/test.rb b/sample/test.rb
index 29670987fa..f09619b827 100644
--- a/sample/test.rb
+++ b/sample/test.rb
@@ -675,8 +675,6 @@ if defined? Process.kill
x = $!
end
ok(x && x =~ /Interrupt/)
-else
- ok(false)
end
check "eval"