]> git.eshelyaron.com Git - emacs.git/commit
'uniquify' user option setters and automatic buffer refresh (bug#77157)
authorshipmints <shipmints@gmail.com>
Fri, 21 Mar 2025 17:59:03 +0000 (13:59 -0400)
committerEshel Yaron <me@eshelyaron.com>
Mon, 31 Mar 2025 08:34:08 +0000 (10:34 +0200)
commitf5e90e69811f7a28f2e988b587606500c4239652
treebeccfc438f83301fa4a7f972f30d667f49f8e758
parent7804ab43e41e2d628a11198753c42b561a2890c5
'uniquify' user option setters and automatic buffer refresh (bug#77157)

Use 'customize', 'setopt', or 'uniquify--set-option' instead of
'setq' to benefit.

* lisp/uniquify.el (uniquify--buffer-refresh): New function.
(uniquify--set-option): New function.
(uniquify-buffer-name-style): Add :initialize and :set forms.
(uniquify-ignore-buffers-re): Add :initialize and :set forms.
(uniquify-min-dir-content): Add :initialize and :set forms.
(uniquify-separator): Add :initialize and :set forms.
(uniquify-strip-common-suffix): Add :initialize and :set forms.
(uniquify-dirname-transform): Add :initialize and :set forms.

(cherry picked from commit 3e228c9eea56cf25234b99e1411114baa732f53f)
lisp/uniquify.el