forked from mirrors/org-mode
* lisp/org.el (org-fontify-meta-lines-and-blocks-1): Rewrite the "line begins with *" check so that it does not assume that match data has remained intact. The upstream call to org-src-font-lock-fontify-block overwrites the match data in some cases. As a result, (match-string 1) signals an error and #+end_src is not fontified. Wrapping the call to org-src-font-lock-fontify-block with save-match-data would fix the reported issue. However, the position at the beginning of the line is already stored in a variable, so use that information instead to check whether the line starts with "*". Reported-by: John Ciolfi <ciolfi@mathworks.com> <r9r1ulpctz.fsf@ah-ciolfi-lah-ciolfi-l.dhcp.mathworks.com> |
||
---|---|---|
.. | ||
Makefile | ||
ob-abc.el | ||
ob-asymptote.el | ||
ob-awk.el | ||
ob-C.el | ||
ob-calc.el | ||
ob-clojure.el | ||
ob-comint.el | ||
ob-coq.el | ||
ob-core.el | ||
ob-css.el | ||
ob-ditaa.el | ||
ob-dot.el | ||
ob-ebnf.el | ||
ob-emacs-lisp.el | ||
ob-eshell.el | ||
ob-eval.el | ||
ob-exp.el | ||
ob-forth.el | ||
ob-fortran.el | ||
ob-gnuplot.el | ||
ob-groovy.el | ||
ob-haskell.el | ||
ob-hledger.el | ||
ob-io.el | ||
ob-J.el | ||
ob-java.el | ||
ob-js.el | ||
ob-latex.el | ||
ob-ledger.el | ||
ob-lilypond.el | ||
ob-lisp.el | ||
ob-lob.el | ||
ob-lua.el | ||
ob-makefile.el | ||
ob-matlab.el | ||
ob-maxima.el | ||
ob-mscgen.el | ||
ob-ocaml.el | ||
ob-octave.el | ||
ob-org.el | ||
ob-perl.el | ||
ob-picolisp.el | ||
ob-plantuml.el | ||
ob-processing.el | ||
ob-python.el | ||
ob-R.el | ||
ob-ref.el | ||
ob-ruby.el | ||
ob-sass.el | ||
ob-scheme.el | ||
ob-screen.el | ||
ob-sed.el | ||
ob-shell.el | ||
ob-shen.el | ||
ob-sql.el | ||
ob-sqlite.el | ||
ob-stan.el | ||
ob-table.el | ||
ob-tangle.el | ||
ob-vala.el | ||
ob.el | ||
ol-bbdb.el | ||
ol-bibtex.el | ||
ol-docview.el | ||
ol-eshell.el | ||
ol-eww.el | ||
ol-gnus.el | ||
ol-info.el | ||
ol-irc.el | ||
ol-mhe.el | ||
ol-rmail.el | ||
ol-w3m.el | ||
ol.el | ||
org-agenda.el | ||
org-archive.el | ||
org-attach-git.el | ||
org-attach.el | ||
org-capture.el | ||
org-clock.el | ||
org-colview.el | ||
org-compat.el | ||
org-crypt.el | ||
org-ctags.el | ||
org-datetree.el | ||
org-duration.el | ||
org-element.el | ||
org-entities.el | ||
org-faces.el | ||
org-feed.el | ||
org-footnote.el | ||
org-goto.el | ||
org-habit.el | ||
org-id.el | ||
org-indent.el | ||
org-inlinetask.el | ||
org-install.el | ||
org-keys.el | ||
org-lint.el | ||
org-list.el | ||
org-macro.el | ||
org-macs.el | ||
org-mobile.el | ||
org-mouse.el | ||
org-num.el | ||
org-pcomplete.el | ||
org-plot.el | ||
org-protocol.el | ||
org-src.el | ||
org-table.el | ||
org-tempo.el | ||
org-timer.el | ||
org.el | ||
ox-ascii.el | ||
ox-beamer.el | ||
ox-html.el | ||
ox-icalendar.el | ||
ox-latex.el | ||
ox-man.el | ||
ox-md.el | ||
ox-odt.el | ||
ox-org.el | ||
ox-publish.el | ||
ox-texinfo.el | ||
ox.el |