From: Dmitry Gutov Date: Fri, 10 Sep 2021 00:44:49 +0000 (+0300) Subject: * lisp/progmodes/ruby-mode.el (ruby-current-indentation): Tweak obsoletion. X-Git-Tag: emacs-28.0.90~1088 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=44ba8278a64dec8f3fbec7c5eec613013d418f4c;p=emacs.git * lisp/progmodes/ruby-mode.el (ruby-current-indentation): Tweak obsoletion. --- 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)