Variable: work-buffer-limit

work-buffer-limit is a variable defined in compat-31.el.

Value

10

Documentation

[Compatibility variable for work-buffer-limit, defined in Emacs 31.0.50. See
(compat) Emacs 31.0.50' for more details.]

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.

Source Code

;; Defined in ~/.emacs.d/elpa/compat-31.0.0.2/compat-31.el
(compat-defvar work-buffer-limit 10 ;; <compat-tests:with-work-buffer>
  "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'.")