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

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

bug#21602: 25.0.50; coding system seg fault


From: Andreas Schwab
Subject: bug#21602: 25.0.50; coding system seg fault
Date: Sat, 03 Oct 2015 14:25:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> Why would it be a bad idea to disallow setting of
> buffer-file-coding-system to an invalid value, as a subtle side effect
> of calling this function?  By the time that later check is made, the
> damage is already done.
>
> IOW, why is it bad to be more defensive than is strictly necessary?

buffer-file-coding-system is a user-settable variable, so the check is
useless.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

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