Function: ruby-current-indentation

ruby-current-indentation is a byte-compiled function defined in ruby-mode.el.gz.

This function is obsolete since 28.1; use current-indentation instead.

Signature

(ruby-current-indentation)

Documentation

Return the indentation level of current line.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/ruby-mode.el.gz
;; FIXME: Remove this?  It's unused here, but some redefinitions of
;; `ruby-calculate-indent' in user init files still call it.
(defun ruby-current-indentation ()
  "Return the indentation level of current line."
  (declare (obsolete current-indentation "28.1"))
  (save-excursion
    (beginning-of-line)
    (back-to-indentation)
    (current-column)))