Function: ispell-create-debug-buffer
ispell-create-debug-buffer is a byte-compiled function defined in
ispell.el.gz.
Signature
(ispell-create-debug-buffer &optional APPEND)
Documentation
Create an ispell debug buffer for debugging output.
If APPEND is non-nil, add output to the old buffer if it exists,
otherwise the buffer is erased first. Returns the debug buffer.
See ispell-buffer-with-debug for an example of use.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/ispell.el.gz
(defun ispell-create-debug-buffer (&optional append)
"Create an ispell debug buffer for debugging output.
If APPEND is non-nil, add output to the old buffer if it exists,
otherwise the buffer is erased first. Returns the debug buffer.
See `ispell-buffer-with-debug' for an example of use."
(let ((ispell-debug-buffer (get-buffer-create "*ispell-debug*")))
(with-current-buffer ispell-debug-buffer
(if append
(insert "-----------------------------------------------\n")
(erase-buffer)))
ispell-debug-buffer))