Function: idlwave-current-indent

idlwave-current-indent is a byte-compiled function defined in idlwave.el.gz.

Signature

(idlwave-current-indent)

Documentation

Return the column of the indentation of the current line.

Skips any whitespace. Returns 0 if the end-of-line follows the whitespace.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/idlwave.el.gz
(defun idlwave-current-indent ()
  "Return the column of the indentation of the current line.
Skips any whitespace.  Returns 0 if the end-of-line follows the whitespace."
  (save-excursion
    (beginning-of-line)
    (skip-chars-forward " \t")
    ;; if we are at the end of blank line return 0
    (cond ((eolp) 0)
          ((current-column)))))