[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [External] : Re: how to force auto-save of buffers not visiting file
From: |
Emanuel Berg |
Subject: |
Re: [External] : Re: how to force auto-save of buffers not visiting files, right now? |
Date: |
Sat, 19 Mar 2022 03:38:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
hw wrote:
>>>> Emacs thinks that ...
>>>
>>> Thanks! I didn't know that emacs can even think, though :)
>>
>> Not to worry. Emacs knows that _we_ can think, and even
>> counts on it!
>
> In this case, it's kinda true because the adjusted version
> doesn't work because the argument is required, so:
>
> (defun my-perltidy-replace (arg)
> "This function replaces the contents of the current buffer with
> the output of perltidy, and makes a backup of the current buffer.
>
> Before and after modifications to contents of buffers are being
> made, all buffers that need to be auto-saved are being
> auto-saved.
>
> The major-mode of the buffer containing the backup is set to
> 'cperl-mode'.
>
> The argument ARG is unused."
In that case, call the argument _ and the docstring comment
can be removed.
--
underground experts united
https://dataswamp.org/~incal
- how to force auto-save of buffers not visiting files, right now?, hw, 2022/03/14
- Re: how to force auto-save of buffers not visiting files, right now?, Eli Zaretskii, 2022/03/14
- Re: how to force auto-save of buffers not visiting files, right now?, hw, 2022/03/15
- Re: how to force auto-save of buffers not visiting files, right now?, Jean Louis, 2022/03/15
- Re: how to force auto-save of buffers not visiting files, right now?, Emanuel Berg, 2022/03/15
- Re: how to force auto-save of buffers not visiting files, right now?, hw, 2022/03/17
- Re: how to force auto-save of buffers not visiting files, right now?, Emanuel Berg, 2022/03/17
- Re: how to force auto-save of buffers not visiting files, right now?, hw, 2022/03/18
- RE: [External] : Re: how to force auto-save of buffers not visiting files, right now?, Drew Adams, 2022/03/18
- Re: [External] : Re: how to force auto-save of buffers not visiting files, right now?, hw, 2022/03/18
- Re: [External] : Re: how to force auto-save of buffers not visiting files, right now?,
Emanuel Berg <=
- Re: how to force auto-save of buffers not visiting files, right now?, Eli Zaretskii, 2022/03/15
Re: how to force auto-save of buffers not visiting files, right now?, Michael Heerdegen, 2022/03/15
- RE: [External] : Re: how to force auto-save of buffers not visiting files, right now?, Drew Adams, 2022/03/15
- Re: how to force auto-save of buffers not visiting files, right now?, hw, 2022/03/17
- Re: how to force auto-save of buffers not visiting files, right now?, Michael Heerdegen, 2022/03/17
- Re: how to force auto-save of buffers not visiting files, right now?, hw, 2022/03/18
- Re: how to force auto-save of buffers not visiting files, right now?, Michael Heerdegen, 2022/03/18
- Re: how to force auto-save of buffers not visiting files, right now?, hw, 2022/03/18
- Re: how to force auto-save of buffers not visiting files, right now?, Michael Heerdegen, 2022/03/18
- Re: how to force auto-save of buffers not visiting files, right now?, hw, 2022/03/19