all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: [nongnu] elpa/treeview 9a1a16f84f: Replaced pos-eol by line-end-position, to be compatibe with older Emacs versions
       [not found] ` <20241101020107.03BDA399885@vcs3.savannah.gnu.org>
@ 2024-11-01  2:28   ` Stefan Monnier
  2024-11-01  3:51     ` Adam Porter
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 2024-11-01  2:28 UTC (permalink / raw)
  To: Tilman Rassy; +Cc: emacs-devel

> -;; 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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [nongnu] elpa/treeview 9a1a16f84f: Replaced pos-eol by line-end-position, to be compatibe with older Emacs versions
  2024-11-01  2:28   ` [nongnu] elpa/treeview 9a1a16f84f: Replaced pos-eol by line-end-position, to be compatibe with older Emacs versions Stefan Monnier
@ 2024-11-01  3:51     ` Adam Porter
  0 siblings, 0 replies; 2+ messages in thread
From: Adam Porter @ 2024-11-01  3:51 UTC (permalink / raw)
  To: monnier; +Cc: emacs-devel, tilman.rassy

FWIW, the `compat' package provides `pos-bol' and `pos-eol' and is 
compatible back to Emacs 24.4.  :)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-01  3:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <173042646653.1223868.2134420938641038251@vcs3.savannah.gnu.org>
     [not found] ` <20241101020107.03BDA399885@vcs3.savannah.gnu.org>
2024-11-01  2:28   ` [nongnu] elpa/treeview 9a1a16f84f: Replaced pos-eol by line-end-position, to be compatibe with older Emacs versions Stefan Monnier
2024-11-01  3:51     ` Adam Porter

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.