diff options
| author | brotzeit <brotzeitmacher@gmail.com> | 2022-09-19 12:51:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-19 12:51:24 +0200 |
| commit | 1d24ca2e6c18cd036f00e930cca64f44db04fb67 (patch) | |
| tree | 00fd621e48118f0de4e13e2c7ceb34ceecb66dc4 | |
| parent | 2756f680cf3c557d282643bf0986dac7cbd20b6d (diff) | |
| parent | 10be8b44085260dee68c4321e49fc98d93f3116d (diff) | |
| download | rust-mode-1d24ca2e6c18cd036f00e930cca64f44db04fb67.tar.gz | |
Merge pull request #461 from tarsiiformes/obsolete
Use line-beginning-position instead of obsolete point-at-bol
| -rw-r--r-- | rust-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el index 47cbf62..80106b8 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))) |
