Fix 'Tramp: sending password' loop caused by associate!
This commit is contained in:
parent
79d6938723
commit
0791277467
1 changed files with 1 additions and 0 deletions
|
@ -182,6 +182,7 @@ Body forms can access the hook's arguments through the let-bound variable
|
|||
(defun ,hook-name ()
|
||||
(when (and (boundp ',mode)
|
||||
(not ,mode)
|
||||
(and buffer-file-name (not (file-remote-p buffer-file-name)))
|
||||
,(if match `(if buffer-file-name (string-match-p ,match buffer-file-name)) t)
|
||||
,(if files (doom--resolve-paths files) t)
|
||||
,(or pred-form t))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue