1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

* lisp/progmodes/ruby-mode.el (ruby-current-indentation): Tweak obsoletion.

This commit is contained in:
Dmitry Gutov 2021-09-10 03:44:49 +03:00
parent b2c44706b6
commit 44ba8278a6

View file

@ -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)