Function: -butlast
-butlast is a byte-compiled function defined in dash.el.
Signature
(-butlast LIST)
Documentation
Return a list of all items in list except for the last.
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -butlast (list)
"Return a list of all items in list except for the last."
;; no alias as we don't want magic optional argument
(declare (pure t) (side-effect-free t))
(butlast list))