From 2c7b0887bbf5bfaf8a03566a5499f2b2d1582e5d Mon Sep 17 00:00:00 2001 From: TEC Date: Tue, 12 Apr 2022 11:44:20 +0800 Subject: [PATCH] org: inline src fontification has been merged --- config.org | 79 +----------------------------------------------------- 1 file changed, 1 insertion(+), 78 deletions(-) diff --git a/config.org b/config.org index afe6ffd..cb14e11 100644 --- a/config.org +++ b/config.org @@ -6957,84 +6957,7 @@ If you have any idea what's going on or how to fix this /please/ get in touch. #+end_warning #+begin_src emacs-lisp -(defvar org-prettify-inline-results t - "Whether to use (ab)use prettify-symbols-mode on {{{results(...)}}}. -Either t or a cons cell of strings which are used as substitutions -for the start and end of inline results, respectively.") - -(defvar org-fontify-inline-src-blocks-max-length 200 - "Maximum content length of an inline src block that will be fontified.") - -(defun org-fontify-inline-src-blocks (limit) - "Try to apply `org-fontify-inline-src-blocks-1'." - (condition-case nil - (org-fontify-inline-src-blocks-1 limit) - (error (message "Org mode fontification error in %S at %d" - (current-buffer) - (line-number-at-pos))))) - -(defun org-fontify-inline-src-blocks-1 (limit) - "Fontify inline src_LANG blocks, from `point' up to LIMIT." - (let ((case-fold-search t) - (initial-point (point))) - (while (re-search-forward "\\_