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

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

[nongnu] elpa/graphql-mode 2183895ea7: Fix point-at-bol byte comp warnin


From: ELPA Syncer
Subject: [nongnu] elpa/graphql-mode 2183895ea7: Fix point-at-bol byte comp warning
Date: Sun, 18 Feb 2024 12:59:52 -0500 (EST)

branch: elpa/graphql-mode
commit 2183895ea7932359586c4bb99e8562c4aef3aaf7
Author: Laurence Warne <laurencewarne@gmail.com>
Commit: David Vázquez Púa <davazp@gmail.com>

    Fix point-at-bol byte comp warning
    
    Fix the byte comp warning:
    
    graphql-mode.el:288:39: Warning: ‘point-at-bol’ is an obsolete function (as 
of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.
---
 graphql-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphql-mode.el b/graphql-mode.el
index 27b7a6558b..4cab27700f 100644
--- a/graphql-mode.el
+++ b/graphql-mode.el
@@ -322,7 +322,7 @@ With \\[universal-argument] PROMPT, prompt for
       (setq column (current-column)))
 
     (save-excursion
-      (let ((level (car (syntax-ppss (point-at-bol)))))
+      (let ((level (car (syntax-ppss (line-beginning-position)))))
 
         ;; Handle closing pairs
         (when (looking-at "\\s-*\\s)")



reply via email to

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