diff options
| author | Simeon Simeonov | 2020-05-11 13:22:02 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2020-05-11 13:22:02 +0200 |
| commit | 226f5277d493133338f87e5bf71bfffbf0aa7321 (patch) | |
| tree | 8e84c573df3d8b038b79005576fdb171d3530882 /.emacs.d/lisp/yaml-mode.el | |
| parent | 0e3b7027a9f5f1c57ff13af96cba042a5a16142d (diff) | |
Update yaml-mode and make .emacs .emacs.pure and .emacs.termfix compliant with eachother
Diffstat (limited to '.emacs.d/lisp/yaml-mode.el')
| -rw-r--r-- | .emacs.d/lisp/yaml-mode.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.emacs.d/lisp/yaml-mode.el b/.emacs.d/lisp/yaml-mode.el index 66e41b3..6bd4000 100644 --- a/.emacs.d/lisp/yaml-mode.el +++ b/.emacs.d/lisp/yaml-mode.el | |||
| @@ -284,7 +284,10 @@ that key is pressed to begin a block literal." | |||
| 284 | ;; We're right after a quote that opens a string literal. | 284 | ;; We're right after a quote that opens a string literal. |
| 285 | ;; Skip over it (big speedup for long JSON strings). | 285 | ;; Skip over it (big speedup for long JSON strings). |
| 286 | (goto-char (1- pt)) | 286 | (goto-char (1- pt)) |
| 287 | (ignore-errors (forward-sexp))))))))) | 287 | (condition-case nil |
| 288 | (forward-sexp) | ||
| 289 | (scan-error | ||
| 290 | (goto-char end)))))))))) | ||
| 288 | 291 | ||
| 289 | (defun yaml-font-lock-block-literals (bound) | 292 | (defun yaml-font-lock-block-literals (bound) |
| 290 | "Find lines within block literals. | 293 | "Find lines within block literals. |
