aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/erc
diff options
context:
space:
mode:
authorGlenn Morris2020-04-29 07:50:20 -0700
committerGlenn Morris2020-04-29 07:50:20 -0700
commitb56401f3849cf6d00717ab8a64a221f2c01455a6 (patch)
tree936d8d0fc04faf7aa2ec069c9376a8be09ec5f79 /lisp/erc
parent17eae91cb1b45711be676bce79bcc5fcd7df2d3d (diff)
parent2f9bfaef21043d7894334b33b8538a165250f499 (diff)
downloademacs-b56401f3849cf6d00717ab8a64a221f2c01455a6.tar.gz
emacs-b56401f3849cf6d00717ab8a64a221f2c01455a6.zip
Merge from origin/emacs-27
2f9bfaef21 (origin/emacs-27) ; Fix last change 520fd3e728 * lisp/env.el (substitute-env-vars): Doc fix. (Bug#40948) 85544f8ef5 * lisp/isearch.el: Fix lazy-highlighting and lazy-counting... d83cc05a73 Fix error in ERC when 'erc-server-coding-system' is custom... 16fed05ba8 Avoid crashes on TTY frames with over-long compositions 0278741676 Fix typo in custom.texi 9f5ae717fb * test/lisp/simple-tests.el (with-shell-command-dont-erase... 1f76a16ed3 * lisp/image-mode.el (image-mode-map): Update menu items. f0e1bf56f0 Fix bugs in tab-bar and tab-line and mention remaining fea... f0b9f18457 Make shell-command tests fit for tcsh. 68f4a740a1 Remove doc duplication ac31cd384c * etc/NEWS: Fix inconsistencies. # Conflicts: # etc/NEWS
Diffstat (limited to 'lisp/erc')
-rw-r--r--lisp/erc/erc-backend.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el
index 57c8e730b83..1e2526f35ce 100644
--- a/lisp/erc/erc-backend.el
+++ b/lisp/erc/erc-backend.el
@@ -466,7 +466,8 @@ If this is set to nil, never try to reconnect."
466The length is specified in `erc-split-line-length'. 466The length is specified in `erc-split-line-length'.
467 467
468Currently this is called by `erc-send-input'." 468Currently this is called by `erc-send-input'."
469 (let ((charset (car (erc-coding-system-for-target nil)))) 469 (let* ((coding (erc-coding-system-for-target nil))
470 (charset (if (consp coding) (car coding) coding)))
470 (with-temp-buffer 471 (with-temp-buffer
471 (insert longline) 472 (insert longline)
472 ;; The line lengths are in octets, not characters (because these 473 ;; The line lengths are in octets, not characters (because these