1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

; Fix erc--channel-modes test on graphical displays

* lisp/erc/erc-fill.el (erc-fill--wrap-insert-merged-post): Use
correct variable.
* test/lisp/erc/erc-scenarios-display-message.el: Mute unrelated noisy
test.
* test/lisp/erc/erc-tests.el (erc--channel-modes): Bail out following
first group of assertions when running on a graphical display.
(erc--channel-modes/graphic-p): New test asserting different values
for graphical terminals.  Note that this too is tagged as :unstable.
See also: d2ce30afdd "; Mark test for erc--update-channel-modes as
:unstable".
This commit is contained in:
F. Jason Park 2023-11-25 19:23:55 -08:00
parent 36941e9e6a
commit 01e7178917
3 changed files with 50 additions and 2 deletions

View file

@ -642,7 +642,7 @@ to be disabled."
(defun erc-fill--wrap-insert-merged-pre ()
"Add `display' property in lieu of speaker."
(if erc-fill--wrap-merge-indicator-post
(if erc-fill--wrap-merge-indicator-pre
(progn
(put-text-property (point-min) (point) 'display
(car erc-fill--wrap-merge-indicator-pre))