diff options
| author | Simeon Simeonov | 2022-10-12 23:21:07 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2022-10-12 23:21:07 +0200 |
| commit | 3ba23d3758e06d95b14ed4e89607e258d15ddbf7 (patch) | |
| tree | f41ec9ee69791270c8e75e87d7893ad90dd3189b /.emacs.d/lisp/yaml-mode.el | |
| parent | 4efa8ef4d3617973b2883605461ffa514675e5b2 (diff) | |
Add Rust mode and update lua-mode, markdown-mode and yaml-mode
Diffstat (limited to '.emacs.d/lisp/yaml-mode.el')
| -rw-r--r-- | .emacs.d/lisp/yaml-mode.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.emacs.d/lisp/yaml-mode.el b/.emacs.d/lisp/yaml-mode.el index 666f128..07ac224 100644 --- a/.emacs.d/lisp/yaml-mode.el +++ b/.emacs.d/lisp/yaml-mode.el | |||
| @@ -306,8 +306,8 @@ artificially limited to the value of | |||
| 306 | (if (eolp) (goto-char (1+ (point)))) | 306 | (if (eolp) (goto-char (1+ (point)))) |
| 307 | (unless (or (eobp) (>= (point) bound)) | 307 | (unless (or (eobp) (>= (point) bound)) |
| 308 | (let ((begin (point)) | 308 | (let ((begin (point)) |
| 309 | (end (min (1+ (point-at-eol)) bound))) | 309 | (end (min (1+ (line-end-position)) bound))) |
| 310 | (goto-char (point-at-bol)) | 310 | (goto-char (line-beginning-position)) |
| 311 | (while (and (looking-at yaml-blank-line-re) | 311 | (while (and (looking-at yaml-blank-line-re) |
| 312 | (not (bobp))) | 312 | (not (bobp))) |
| 313 | (forward-line -1)) | 313 | (forward-line -1)) |
| @@ -426,7 +426,7 @@ margin." | |||
| 426 | otherwise do nothing." | 426 | otherwise do nothing." |
| 427 | (interactive) | 427 | (interactive) |
| 428 | (save-excursion | 428 | (save-excursion |
| 429 | (goto-char (point-at-bol)) | 429 | (goto-char (line-beginning-position)) |
| 430 | (while (and (looking-at-p yaml-blank-line-re) (not (bobp))) | 430 | (while (and (looking-at-p yaml-blank-line-re) (not (bobp))) |
| 431 | (forward-line -1)) | 431 | (forward-line -1)) |
| 432 | (let ((nlines yaml-block-literal-search-lines) | 432 | (let ((nlines yaml-block-literal-search-lines) |
