[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/rust-mode 1d24ca2e6c 2/2: Merge pull request #461 from tar
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/rust-mode 1d24ca2e6c 2/2: Merge pull request #461 from tarsiiformes/obsolete |
Date: |
Mon, 19 Sep 2022 06:59:38 -0400 (EDT) |
branch: elpa/rust-mode
commit 1d24ca2e6c18cd036f00e930cca64f44db04fb67
Merge: 2756f680cf 10be8b4408
Author: brotzeit <brotzeitmacher@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #461 from tarsiiformes/obsolete
Use line-beginning-position instead of obsolete point-at-bol
---
rust-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust-mode.el b/rust-mode.el
index 47cbf626f4..80106b836a 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -734,7 +734,7 @@ buffer."
(while (and (or (rust-in-str-or-cmnt)
;; Only whitespace (or nothing) from the beginning to
;; the end of the line.
- (looking-back "^\s*" (point-at-bol)))
+ (looking-back "^\s*" (line-beginning-position)))
(= (rust-paren-level) level))
(forward-line -1)
(end-of-line)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/rust-mode 1d24ca2e6c 2/2: Merge pull request #461 from tarsiiformes/obsolete,
ELPA Syncer <=