[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/scroll-on-drag e752d84a9c 2/2: Bump emacs version 29.1
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/scroll-on-drag e752d84a9c 2/2: Bump emacs version 29.1 |
Date: |
Sat, 20 Apr 2024 10:02:34 -0400 (EDT) |
branch: elpa/scroll-on-drag
commit e752d84a9cb6371b147cbaee5da7939ccd900480
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Bump emacs version 29.1
---
scroll-on-drag.el | 18 +-----------------
1 file changed, 1 insertion(+), 17 deletions(-)
diff --git a/scroll-on-drag.el b/scroll-on-drag.el
index 4e5eb6df11..02e6bb0902 100644
--- a/scroll-on-drag.el
+++ b/scroll-on-drag.el
@@ -7,7 +7,7 @@
;; URL: https://codeberg.org/ideasman42/emacs-scroll-on-drag
;; Version: 0.1
-;; Package-Requires: ((emacs "26.2"))
+;; Package-Requires: ((emacs "29.1"))
;;; Commentary:
@@ -21,22 +21,6 @@
;;; Code:
-;; ---------------------------------------------------------------------------
-;; Compatibility
-
-(when (and (version< emacs-version "29.1") (not (and (fboundp 'pos-bol)
(fboundp 'pos-eol))))
- (defun pos-bol (&optional n)
- "Return the position at the line beginning."
- (declare (side-effect-free t))
- (let ((inhibit-field-text-motion t))
- (line-beginning-position n)))
- (defun pos-eol (&optional n)
- "Return the position at the line end."
- (declare (side-effect-free t))
- (let ((inhibit-field-text-motion t))
- (line-end-position n))))
-
-
;; ---------------------------------------------------------------------------
;; Custom Variables