emacs-devel
[Top][All Lists]
Advanced

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

Re: master 6d4179957a8: Fix test of whether to insert lexical-binding co


From: Eli Zaretskii
Subject: Re: master 6d4179957a8: Fix test of whether to insert lexical-binding cookies in custom files
Date: Sat, 11 May 2024 19:36:22 +0300

> +            ;; The previous test `eobp' was written with an appalling
> +            ;; lack of forethought or testing, being easily misled if
> +            ;; the user should have left point at eob in a buffer
> +            ;; visiting the custom file.
> +            (when (eq (point-min) (point-max))

Is this test robust enough?  Why not use buffer-size instead?



reply via email to

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