emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tabulated-list sort icon is reversed


From: Stefan Monnier
Subject: Re: tabulated-list sort icon is reversed
Date: Wed, 27 Feb 2019 16:23:01 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> +(defcustom tabulated-list-sort-icon-asc " ▼"
> +(defcustom tabulated-list-sort-icon-desc " ▲"
> +(defcustom tabulated-list-glyphless-sort-icon-asc "v"
> +(defcustom tabulated-list-glyphless-sort-icon-desc "^"
[...]
> -    (aset table 9650 (cons nil "^"))
> -    (aset table 9660 (cons nil "v"))
> +    (aset table 9650 (cons nil tabulated-list-glyphless-sort-icon-desc))
> +    (aset table 9660 (cons nil tabulated-list-glyphless-sort-icon-asc))

[ 9650 and 9660 should really have been written ?▲ and ?▼.  ]

The above code should be changed so that the table's entries that are
set correspond to the chars configured in tabulated-list-sort-icon-*sc.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]