; Pacify byte-compiler
* lisp/progmodes/eglot.el (eglot--managed-mode): Use revert-buffer-in-progress instead of revert-buffer-in-progress-p. * lisp/vc/vc-hooks.el (vc-dir-resynch-file): Declare some functions.
This commit is contained in:
@@ -2242,7 +2242,7 @@ Use `eglot-managed-p' to determine if current buffer is managed.")
|
||||
(when (and eglot-autoshutdown
|
||||
(null (eglot--managed-buffers server))
|
||||
;; Don't shutdown if up again soon.
|
||||
(not revert-buffer-in-progress-p))
|
||||
(not revert-buffer-in-progress))
|
||||
(eglot-shutdown server)))))))
|
||||
|
||||
(defun eglot--managed-mode-off ()
|
||||
|
||||
@@ -687,6 +687,9 @@ Before doing that, check if there are any old backups and get rid of them."
|
||||
(vc-make-version-backup file)))))
|
||||
|
||||
(declare-function vc-dir-resynch-file "vc-dir" (&optional fname))
|
||||
(declare-function vc-fileset-diff-outgoing "vc" (&optional remote-location fileset))
|
||||
(declare-function vc-fileset-diff-incoming "vc" (&optional remote-location fileset))
|
||||
(declare-function vc-working-tree-switch-project "vc" (dir))
|
||||
|
||||
(defvar vc-dir-buffers nil "List of `vc-dir' buffers.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user