Variable: work-buffer-limit

work-buffer-limit is a variable defined in subr-x.el.gz.

Value

10

Documentation

Maximum number of reusable work buffers.

When this limit is exceeded, newly allocated work buffers are automatically killed, which means that in a such case with-work-buffer becomes equivalent to with-temp-buffer.

Probably introduced at or before Emacs version 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/subr-x.el.gz
(defvar work-buffer-limit 10
  "Maximum number of reusable work buffers.
When this limit is exceeded, newly allocated work buffers are
automatically killed, which means that in a such case
`with-work-buffer' becomes equivalent to `with-temp-buffer'.")