From 29a4c5355c632f2bfed19218f95b2c7645f322c6 Mon Sep 17 00:00:00 2001 From: akater Date: Thu, 12 Aug 2021 00:20:01 +0000 Subject: [PATCH] Do not use obsolete name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ‘ruby-backward-sexp’ is an obsolete function (as of 28.1); use ‘backward-sexp’ instead. --- inf-ruby.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inf-ruby.el b/inf-ruby.el index e920af9..863a808 100755 --- a/inf-ruby.el +++ b/inf-ruby.el @@ -556,7 +556,7 @@ Must not contain ruby meta characters.") (defun ruby-send-last-sexp (&optional print) "Send the previous sexp to the inferior Ruby process." (interactive "P") - (ruby-send-region (save-excursion (ruby-backward-sexp) (point)) (point)) + (ruby-send-region (save-excursion (backward-sexp) (point)) (point)) (when print (ruby-print-result))) (defun ruby-send-block (&optional print)