[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/yaml-mode 9969207f60 2/2: Merge pull request #99 from syoh
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/yaml-mode 9969207f60 2/2: Merge pull request #99 from syohex/byte-compile-warnings |
Date: |
Sat, 3 Sep 2022 14:59:10 -0400 (EDT) |
branch: elpa/yaml-mode
commit 9969207f60b69e42c573a63764faeb9caaccb2bf
Merge: 535273d5a1 2f913f0657
Author: Vasilij Schneidermann <mail@vasilij.de>
Commit: GitHub <noreply@github.com>
Merge pull request #99 from syohex/byte-compile-warnings
Fix byte-compile warnings
---
yaml-mode.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/yaml-mode.el b/yaml-mode.el
index 666f1281b4..07ac2247bc 100644
--- a/yaml-mode.el
+++ b/yaml-mode.el
@@ -306,8 +306,8 @@ artificially limited to the value of
(if (eolp) (goto-char (1+ (point))))
(unless (or (eobp) (>= (point) bound))
(let ((begin (point))
- (end (min (1+ (point-at-eol)) bound)))
- (goto-char (point-at-bol))
+ (end (min (1+ (line-end-position)) bound)))
+ (goto-char (line-beginning-position))
(while (and (looking-at yaml-blank-line-re)
(not (bobp)))
(forward-line -1))
@@ -426,7 +426,7 @@ margin."
otherwise do nothing."
(interactive)
(save-excursion
- (goto-char (point-at-bol))
+ (goto-char (line-beginning-position))
(while (and (looking-at-p yaml-blank-line-re) (not (bobp)))
(forward-line -1))
(let ((nlines yaml-block-literal-search-lines)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/yaml-mode 9969207f60 2/2: Merge pull request #99 from syohex/byte-compile-warnings,
ELPA Syncer <=