diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2023-03-29 10:01:37 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2023-03-29 12:53:42 -0700 |
commit | 65b47b93e72c2b1aa12d950242a7d5ea6c8a5d56 (patch) | |
tree | 1d5cec876791b3aa8b3a8d9401ca95778ccaf17a | |
parent | 382d35421398b3cf44ad734e94651f8a2742238b (diff) | |
download | dotfiles-65b47b93e72c2b1aa12d950242a7d5ea6c8a5d56.tar.gz |
update & anchor regexp
-rw-r--r-- | .emacs.d/init.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index fe63b28b..0731dc7c 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1484,7 +1484,7 @@ don't consider windows satisfying the predicate EXCLUDE." ;; We want `inhibit-same-window' t except when popping to a buffer ;; that's already selected, e.g. hitting 'g' in a *vc-diff* buffer. ,@(and (fboundp 'buffer-match-p) ; for Emacs 27 - (let ((re "\\*\\(?:notes\\|vc\\(?:-reflog\\)?-diff\\)\\*")) + (let ((re "^\\*vc\\(?:-reflog\\)?-diff\\*")) `((,(lambda (buffer _action) (and (buffer-match-p re buffer) (eq buffer (window-buffer (selected-window))))) |