Function: ebrowse-width-of-drawable-area
ebrowse-width-of-drawable-area is a byte-compiled function defined in
ebrowse.el.gz.
Signature
(ebrowse-width-of-drawable-area)
Documentation
Return the width of the display area for the current buffer.
If buffer is displayed in a window, use that window's width, otherwise use the current frame's width.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/ebrowse.el.gz
(defun ebrowse-width-of-drawable-area ()
"Return the width of the display area for the current buffer.
If buffer is displayed in a window, use that window's width,
otherwise use the current frame's width."
(let ((window (get-buffer-window (current-buffer))))
(if window
(window-width window)
(frame-width))))