[Top][All Lists]

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

Re: Towards a cleaner build: select.el

From: Lars Ingebrigtsen
Subject: Re: Towards a cleaner build: select.el
Date: Sun, 16 Jun 2019 16:45:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

There are now 11 compilation Warnings: lines left...  We discussed this
one earlier, but didn't do anything about it:

In xselect--encode-string:
select.el:482:24:Warning: `string-make-unibyte' is an obsolete function (as of
    26.1); use `encode-coding-string'.

It's this code:

           ((eq type 'C_STRING)
            ;; If STR is unibyte (the normal case), use it; otherwise
            ;; we assume some of the characters are eight-bit, and
            ;; take their lower 8 bits.
            (setq str (string-make-unibyte str)))

Stefan suggested, I think, that we should just use string-to-unibyte
here.  Eli, do you agree?

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

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