[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: silence append-to-file?
From: |
Emanuel Berg |
Subject: |
Re: silence append-to-file? |
Date: |
Fri, 12 Nov 2021 17:10:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Gregory Heytings wrote:
>> Alternatively, is there a better function to use for this?
>
> (defun append-to-file-quiet (start end filename)
> "Like `append-to-file', but do not log a message in *Messages*"
> (let ((message-log-max nil))
> (append-to-file start end filename)))
Do this for how to improve the docstring ...
(require 'checkdoc)
(setq checkdoc-permit-comma-termination-flag t)
(defun check-package-style ()
(interactive)
(let ((msg "Style check..."))
(message msg)
(checkdoc-current-buffer t) ; TAKE-NOTES
(message "%sdone" msg) ))
(defalias 'check-style #'check-package-style)
--
underground experts united
https://dataswamp.org/~incal