Function: picture-tab

picture-tab is an interactive and byte-compiled function defined in picture.el.gz.

Signature

(picture-tab &optional ARG)

Documentation

Tab transparently (just move point) to next tab stop.

With prefix arg, overwrite the traversed text with spaces. The tab stop list can be changed by M-x picture-set-tab-stops (picture-set-tab-stops) and M-x edit-tab-stops (edit-tab-stops). See also documentation for variable picture-tab-chars.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/picture.el.gz
(defun picture-tab (&optional arg)
  "Tab transparently (just move point) to next tab stop.
With prefix arg, overwrite the traversed text with spaces.  The tab stop
list can be changed by \\[picture-set-tab-stops] and \\[edit-tab-stops].
See also documentation for variable `picture-tab-chars'."
  (interactive "^P")
  (let* ((opoint (point)))
    (move-to-tab-stop)
    (if arg
	(let (indent-tabs-mode
	      (column (current-column)))
	  (delete-region opoint (point))
	  (indent-to column)))))