From 44ba8278a64dec8f3fbec7c5eec613013d418f4c Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Fri, 10 Sep 2021 03:44:49 +0300 Subject: [PATCH] * lisp/progmodes/ruby-mode.el (ruby-current-indentation): Tweak obsoletion. --- lisp/progmodes/ruby-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index d3e40770694..6a03856eafc 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -836,7 +836,7 @@ The style of the comment is controlled by `ruby-encoding-magic-comment-style'." ;; `ruby-calculate-indent' in user init files still call it. (defun ruby-current-indentation () "Return the indentation level of current line." - (declare (obsolete nil "28.1")) + (declare (obsolete current-indentation "28.1")) (save-excursion (beginning-of-line) (back-to-indentation) -- 2.39.2