emacs-devel
[Top][All Lists]
Advanced

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

Re: [nongnu] elpa/treeview 9a1a16f84f: Replaced pos-eol by line-end-posi


From: Stefan Monnier
Subject: Re: [nongnu] elpa/treeview 9a1a16f84f: Replaced pos-eol by line-end-position, to be compatibe with older Emacs versions
Date: Thu, 31 Oct 2024 22:28:39 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

> -;; Version: 1.3.0
> -;; Package-Requires: ((emacs "29.1"))
> +;; Version: 1.3.1
> +;; Package-Requires: ((emacs "25.1"))
[...]
> -  (unless (equal (pos-eol) (point-max)) ;; If in the last line, do nothing
> +  (unless (equal (line-end-position) (point-max)) ;; If in the last line, do 
> nothing

A nice tradeoff, indeed, thank you!


        Stefan




reply via email to

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