]> git.eshelyaron.com Git - emacs.git/commit
Replace uniquify.el's advice with direct calls
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 28 Dec 2021 00:47:23 +0000 (19:47 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 28 Dec 2021 01:59:16 +0000 (20:59 -0500)
commit1a724cc2d2e7f08b9fcad569c8cacf126ad55791
tree007c8a962d6d717046dfdbc2cf87228b2cac5a7c
parent0f9ec379eb8ae4ca228b87145edf04d6c8e88516
Replace uniquify.el's advice with direct calls

This fixes bug#1338.

* src/buffer.c (Frename_buffer): Call `uniquify--rename-buffer-advice`.
* lisp/files.el (create-file-buffer):
Call`uniquify--create-file-buffer-advice`.

* lisp/uniquify.el (uniquify--rename-buffer-advice)
(uniquify--create-file-buffer-advice): Don't add them as advice any more.
Adjust their calling convention accordingly.
lisp/files.el
lisp/uniquify.el
src/buffer.c