mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-11 14:01:43 -08:00
; 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:
parent
d40c754929
commit
e92da50e05
2 changed files with 4 additions and 1 deletions
|
|
@ -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.")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue