Function: uniquify-unload-function

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

Signature

(uniquify-unload-function)

Documentation

Unload the uniquify library.

Source Code

;; Defined in /usr/src/emacs/lisp/uniquify.el.gz
(defun uniquify-unload-function ()
  "Unload the uniquify library."
  (save-current-buffer
    (let ((buffers nil))
      (dolist (buf (buffer-list))
	(set-buffer buf)
	(when uniquify-managed
	  (push (cons buf (uniquify-item-base (car uniquify-managed))) buffers)))
      (advice-remove 'rename-buffer #'uniquify--rename-buffer-advice)
      (advice-remove 'create-file-buffer #'uniquify--create-file-buffer-advice)
      (dolist (buf buffers)
	(set-buffer (car buf))
	(rename-buffer (cdr buf) t))))
  ;; continue standard unloading
  nil)