help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Changing buffer mode


From: Emanuel Berg
Subject: Re: Changing buffer mode
Date: Thu, 21 Jul 2022 16:50:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

carlmarcos--- via Users list for the GNU Emacs text editor wrote:

>>> With the following function I can change the mode of
>>> a buffer. I would like to change it to use `completing-read`
>>> using a list composed of a selection of mode names. How can
>>> I go about doing that?
>>
>> Use it?
>>
>>  (completing-read "drop: " '(little boy fat man))
>>
> Yes, but then how can I update the buffer with the
> new mode?

The same way you always do it?

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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