Function: artist-toggle-trim-line-endings

artist-toggle-trim-line-endings is an interactive and byte-compiled function defined in artist.el.gz.

Signature

(artist-toggle-trim-line-endings &optional STATE)

Documentation

Toggle trimming of line-endings.

If optional argument STATE is positive, turn trimming on.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/artist.el.gz
(defun artist-toggle-trim-line-endings (&optional state)
  "Toggle trimming of line-endings.
If optional argument STATE is positive, turn trimming on."
  (interactive)
  (if (setq artist-trim-line-endings
	    (if (null state) (not artist-trim-line-endings)
	      (> (prefix-numeric-value state) 0)))
      (message "Trimming is now on")
    (message "Trimming is now off")))