Function: fringe-columns

fringe-columns is a byte-compiled function defined in fringe.el.gz.

Signature

(fringe-columns SIDE &optional REAL)

Documentation

Return the width, measured in columns, of the fringe area on SIDE.

If optional argument REAL is non-nil, return a real floating point number instead of a rounded integer value. SIDE must be the symbol left or right.

Source Code

;; Defined in /usr/src/emacs/lisp/fringe.el.gz
(defsubst fringe-columns (side &optional real)
  "Return the width, measured in columns, of the fringe area on SIDE.
If optional argument REAL is non-nil, return a real floating point
number instead of a rounded integer value.
SIDE must be the symbol `left' or `right'."
  (funcall (if real '/ 'ceiling)
	   (or (funcall (if (eq side 'left) 'car 'cadr)
			(window-fringes))
	       0)
           (float (frame-char-width))))