emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 44ba827: * lisp/progmodes/ruby-mode.el (ruby-current-indentation)


From: Dmitry Gutov
Subject: master 44ba827: * lisp/progmodes/ruby-mode.el (ruby-current-indentation): Tweak obsoletion.
Date: Thu, 9 Sep 2021 20:45:15 -0400 (EDT)

branch: master
commit 44ba8278a64dec8f3fbec7c5eec613013d418f4c
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    * 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 d3e4077..6a03856 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]