summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2021-09-10 03:44:49 +0300
committerDmitry Gutov <dgutov@yandex.ru>2021-09-10 03:44:49 +0300
commit44ba8278a64dec8f3fbec7c5eec613013d418f4c (patch)
tree42587a5b3dee19f7f8058ba2c361e44d027df199
parentb2c44706b69fff4b80cfd78a5cd94a3da1c87fa7 (diff)
downloademacs-44ba8278a64dec8f3fbec7c5eec613013d418f4c.tar.gz
emacs-44ba8278a64dec8f3fbec7c5eec613013d418f4c.tar.bz2
emacs-44ba8278a64dec8f3fbec7c5eec613013d418f4c.zip
* lisp/progmodes/ruby-mode.el (ruby-current-indentation): Tweak obsoletion.
-rw-r--r--lisp/progmodes/ruby-mode.el2
1 files changed, 1 insertions, 1 deletions
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)