branch: elpa/dart-mode
commit 6ec48966fe13b4e211c29b40e25ca97780b82623
Author: Pierre Rouleau <[email protected]>
Commit: Pierre Rouleau <[email protected]>

    Fix obsolescence warning on Emacs >=29 about point-at-bol
    
    * Replaced ‘point-at-bol’ by ‘line-beginning-position’ to prevent the
      following warning:
    
        ‘point-at-bol’ is an obsolete function (as of 29.1); use 
‘line-beginning-position’ or ‘pos-bol’ instead.
---
 dart-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dart-mode.el b/dart-mode.el
index 54e562bef0b..bec08038660 100644
--- a/dart-mode.el
+++ b/dart-mode.el
@@ -543,7 +543,7 @@ untyped parameters. For example, in
                                            space)
                                       "super")
                                   ?\()
-                              (point-at-bol))
+                              (line-beginning-position))
           (condition-case nil
               (up-list)
             (scan-error (throw 'result nil)))

Reply via email to