Function: uniquify-kill-buffer-function

uniquify-kill-buffer-function is a byte-compiled function defined in uniquify.el.gz.

Signature

(uniquify-kill-buffer-function)

Documentation

Re-rationalize buffer names, ignoring current buffer.

For use on kill-buffer-hook.

Source Code

;; Defined in /usr/src/emacs/lisp/uniquify.el.gz
;; Buffer deletion
;; Rerationalize after a buffer is killed, to reduce coinciding buffer names.
;; This mechanism uses `kill-buffer-hook', which runs *before* deletion, so
;; it calls `uniquify-rerationalize-w/o-cb' to rerationalize the buffer list
;; ignoring the current buffer (which is going to be deleted anyway).
(defun uniquify-kill-buffer-function ()
  "Re-rationalize buffer names, ignoring current buffer.
For use on `kill-buffer-hook'."
  (and uniquify-after-kill-buffer-p
       (uniquify-maybe-rerationalize-w/o-cb)))