diff options
Diffstat (limited to 'lisp/net/rcirc.el')
-rw-r--r-- | lisp/net/rcirc.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 52d97f38b5c..d1f54c9909d 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el @@ -564,8 +564,7 @@ last ping." Debug text is written to `rcirc-debug-buffer' if `rcirc-debug-flag' is non-nil." (when rcirc-debug-flag - (save-excursion - (set-buffer (get-buffer-create rcirc-debug-buffer)) + (with-current-buffer (get-buffer-create rcirc-debug-buffer) (goto-char (point-max)) (insert (concat "[" |