Function: dcl-option-value-offset

dcl-option-value-offset is a byte-compiled function defined in dcl-mode.el.gz.

Signature

(dcl-option-value-offset OPTION-ASSOC)

Documentation

Guess a value for an offset.

Find the column of the first non-blank character on the line. Returns the column offset.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/dcl-mode.el.gz
;;;-------------------------------------------------------------------------
(defun dcl-option-value-offset (_option-assoc)
  "Guess a value for an offset.
Find the column of the first non-blank character on the line.
Returns the column offset."
  (save-excursion
    (beginning-of-line)
    (re-search-forward "^\\$[ \t]*" nil t)
    (current-column)))