diff options
| author | Sean Whitton | 2025-05-30 13:21:07 +0100 |
|---|---|---|
| committer | Sean Whitton | 2025-05-30 13:21:46 +0100 |
| commit | c459ba692ece6ed7c9d4be9cf3821b4efe04cd30 (patch) | |
| tree | 8979222ef9b3b4325fb131ff37df156a120d32f3 | |
| parent | f699b6e4f409c0cc98703a2cea9b243ff8cb570a (diff) | |
| download | emacs-c459ba692ece6ed7c9d4be9cf3821b4efe04cd30.tar.gz emacs-c459ba692ece6ed7c9d4be9cf3821b4efe04cd30.zip | |
vc-finish-logentry: Don't run vc-finish-logentry-hook
* lisp/vc/vc-dispatcher.el (vc-finish-logentry): Don't run
undocumented, undeclared 'vc-finish-logentry-hook'. There is
already 'vc-log-after-operation-hook'; it is not clear we need
both.
| -rw-r--r-- | lisp/vc/vc-dispatcher.el | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/lisp/vc/vc-dispatcher.el b/lisp/vc/vc-dispatcher.el index 2368cc6512e..820c666ca7d 100644 --- a/lisp/vc/vc-dispatcher.el +++ b/lisp/vc/vc-dispatcher.el | |||
| @@ -874,19 +874,15 @@ the buffer contents as a comment." | |||
| 874 | (setq vc-log-operation nil) | 874 | (setq vc-log-operation nil) |
| 875 | 875 | ||
| 876 | ;; Quit windows on logbuf. | 876 | ;; Quit windows on logbuf. |
| 877 | (cond | 877 | (cond ((not logbuf)) |
| 878 | ((not logbuf)) | 878 | (vc-delete-logbuf-window |
| 879 | (vc-delete-logbuf-window | 879 | (quit-windows-on logbuf t (selected-frame))) |
| 880 | (quit-windows-on logbuf t (selected-frame))) | 880 | (t |
| 881 | (t | 881 | (quit-windows-on logbuf nil 0))) |
| 882 | (quit-windows-on logbuf nil 0))) | ||
| 883 | 882 | ||
| 884 | ;; Now make sure we see the expanded headers | 883 | ;; Now make sure we see the expanded headers |
| 885 | (when log-fileset | 884 | (mapc (lambda (file) (vc-resynch-buffer file t t)) log-fileset) |
| 886 | (mapc | 885 | (run-hooks after-hook))) |
| 887 | (lambda (file) (vc-resynch-buffer file t t)) | ||
| 888 | log-fileset)) | ||
| 889 | (run-hooks after-hook 'vc-finish-logentry-hook))) | ||
| 890 | 886 | ||
| 891 | (defun vc-dispatcher-browsing () | 887 | (defun vc-dispatcher-browsing () |
| 892 | "Are we in a directory browser buffer?" | 888 | "Are we in a directory browser buffer?" |