fix(vc-gutter): check 'diff-hl-disable-on-remote is bound
This fixes the following error message on startup: Symbol’s value as variable is void: diff-hl-disable-on-remote
This commit is contained in:
parent
dec2a387ad
commit
ff3fd15b02
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@
|
|||
(defun +vc-gutter-enable-maybe-h ()
|
||||
"Conditionally enable `diff-hl-dired-mode' in dired buffers.
|
||||
Respects `diff-hl-disable-on-remote'."
|
||||
(unless (and diff-hl-disable-on-remote
|
||||
(unless (and (bound-and-true-p diff-hl-disable-on-remote)
|
||||
(file-remote-p default-directory))
|
||||
(diff-hl-dired-mode +1))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue