emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/crdt d0c439f 59/80: I imagine this fix an imaginary bug


From: ELPA Syncer
Subject: [elpa] externals/crdt d0c439f 59/80: I imagine this fix an imaginary bug with tuntox
Date: Sat, 28 Aug 2021 10:57:42 -0400 (EDT)

branch: externals/crdt
commit d0c439f968060aa219683a485d9c4c6adfc1f81b
Author: Qiantan Hong <qhong@mit.edu>
Commit: Qiantan Hong <qhong@mit.edu>

    I imagine this fix an imaginary bug with tuntox
---
 crdt.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/crdt.el b/crdt.el
index 934f328..827b488 100644
--- a/crdt.el
+++ b/crdt.el
@@ -1965,7 +1965,8 @@ Join with DISPLAY-NAME."
     (funcall orig-func process start end)))
 
 (defun crdt--get-buffer-process-advice (orig-func buffer)
-  (and (setq buffer (get-buffer buffer))
+  (and buffer
+       (setq buffer (get-buffer buffer))
        (with-current-buffer buffer
          (if (and crdt--session (not (crdt--server-p)))
              crdt--buffer-pseudo-process



reply via email to

[Prev in Thread] Current Thread [Next in Thread]