diff options
| author | LLLL Colonq <llll@colonq> | 2025-09-16 01:33:43 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2025-09-16 01:33:43 -0400 |
| commit | fe903c535211bdbeeb703e06db0da3f7c8c19b4b (patch) | |
| tree | 66c383a14eb92f61df32f2407719a761e4c2ed16 /src/wasp-chat.el | |
| parent | 9dec5e4d54ecbfb84ef8eba727b44bb6435f6e40 (diff) | |
Update
Diffstat (limited to 'src/wasp-chat.el')
| -rw-r--r-- | src/wasp-chat.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/wasp-chat.el b/src/wasp-chat.el index 37b0b1e9..badb6856 100644 --- a/src/wasp-chat.el +++ b/src/wasp-chat.el @@ -233,7 +233,8 @@ Optionally, return the buffer NM in chat mode." (defun w/write-chat-event (ev) "Write the string EV to the chat buffer as an event (italicized)." (let ((inhibit-read-only t)) - (with-current-buffer (w/get-chat-event-buffer) + ;; (with-current-buffer (w/get-chat-event-buffer) + (with-current-buffer (w/get-chat-buffer) (goto-char (point-max)) (insert (propertize ev 'face 'italic)) (insert "\n")) @@ -277,7 +278,7 @@ Optionally, return the buffer NM in chat mode." ("*******" . "hunter2"))) (defun w/write-chat-message (msg &optional buf) - "Write MSG to the chat buffer as USER with USERID and COLOR." + "Write MSG to BUF as USER with USERID and COLOR." (w/daily-log (format "%s: %s" (w/. user msg) (w/. text msg))) (let ((inhibit-read-only t)) (with-current-buffer (w/get-chat-buffer buf) @@ -328,7 +329,7 @@ Optionally, return the buffer NM in chat mode." bible-button-text 'face '(:foreground "#bbbbbb"))))) (insert "\n")) - (when-let ((win (get-buffer-window (w/get-chat-buffer)))) + (when-let* ((win (get-buffer-window (w/get-chat-buffer)))) (with-selected-window win (goto-char (point-max)))))) |
