branch: externals/crdt
commit d0c439f968060aa219683a485d9c4c6adfc1f81b
Author: Qiantan Hong <[email protected]>
Commit: Qiantan Hong <[email protected]>
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