summaryrefslogtreecommitdiff
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
authorSimeon Simeonov2020-05-11 13:22:02 +0200
committerSimeon Simeonov2020-05-11 13:22:02 +0200
commit226f5277d493133338f87e5bf71bfffbf0aa7321 (patch)
tree8e84c573df3d8b038b79005576fdb171d3530882 /.emacs.d/lisp
parent0e3b7027a9f5f1c57ff13af96cba042a5a16142d (diff)
Update yaml-mode and make .emacs .emacs.pure and .emacs.termfix compliant with eachother
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/yaml-mode.el5
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.