projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2c4470
)
* lisp/progmodes/ruby-mode.el (ruby-current-indentation): Tweak obsoletion.
author
Dmitry Gutov
<dgutov@yandex.ru>
Fri, 10 Sep 2021 00:44:49 +0000
(
03:44
+0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Fri, 10 Sep 2021 00:44:49 +0000
(
03:44
+0300)
lisp/progmodes/ruby-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/ruby-mode.el
b/lisp/progmodes/ruby-mode.el
index d3e407706944f82e21149902eb12c3d64253b4b3..6a03856eafc962e6495502ae6e184eaa66e46fc3 100644
(file)
--- 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)