emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/m-buffer 3df675024f 064/115: New functions added.


From: ELPA Syncer
Subject: [elpa] externals/m-buffer 3df675024f 064/115: New functions added.
Date: Tue, 19 Jul 2022 15:58:49 -0400 (EDT)

branch: externals/m-buffer
commit 3df675024fdfc2e81c36ec795b357bee636bbe14
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>

    New functions added.
---
 m-buffer-at.el | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/m-buffer-at.el b/m-buffer-at.el
index 11f619b2f7..f427e676a8 100644
--- a/m-buffer-at.el
+++ b/m-buffer-at.el
@@ -8,6 +8,22 @@ See also `eolp'."
   (m-buffer-with-current-location
       location
     (eolp)))
-  
+
+(defun m-buffer-at-bolp (&rest location)
+  "Return t if LOCATION is at the begining of a line.
+See also `bolp'"
+  (m-buffer-with-current-location
+      location
+    (bolp)))
+
+(defun m-buffer-at-line-beginning-position (&rest location)
+  (m-buffer-with-current-location
+      location
+    (line-beginning-position)))
+
+(defun m-buffer-at-line-end-position (&rest location)
+  (m-buffer-with-current-location
+      location
+    (line-end-position)))
 
 (provide 'm-buffer-at)



reply via email to

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