org-mode/lisp
Kyle Meyer ba6ca79af5 org.el: Fix #+end_src fontification error
* 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>
2020-06-13 15:17:58 -04:00
..
Makefile Move link-related core functions out of "org.el" 2019-03-10 18:00:27 +01:00
ob-abc.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-asymptote.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-awk.el
ob-C.el
ob-calc.el
ob-clojure.el ob-clojure.el: Fix let binding expansion and comments removal 2020-02-12 11:24:07 +01:00
ob-comint.el
ob-coq.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-core.el
ob-css.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-ditaa.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-dot.el
ob-ebnf.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-emacs-lisp.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-eshell.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-eval.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-exp.el
ob-forth.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-fortran.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-gnuplot.el ob-gnuplot.el: Fix broken links 2020-02-12 21:33:00 +01:00
ob-groovy.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-haskell.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-hledger.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-io.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-J.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-java.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-js.el ob-js.el: Fix obsolete requirement 2020-05-22 16:07:55 +02:00
ob-latex.el ob-latex: Stop ignoring headers argument 2020-05-10 14:53:11 +02:00
ob-ledger.el
ob-lilypond.el lisp/ob-lilypond.el: Fix initialization bug 2020-02-11 08:51:30 +01:00
ob-lisp.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-lob.el
ob-lua.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-makefile.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-matlab.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-maxima.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-mscgen.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-ocaml.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-octave.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-org.el
ob-perl.el
ob-picolisp.el
ob-plantuml.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
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 Update copyright year to 2020 2020-01-01 13:38:46 -05:00
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-attach.el: Use force' arg everywhere in org-attach-delete-all' 2020-03-05 23:24:14 -05:00
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-tempo.el: Fix bug 2020-02-03 18:22:55 +01:00
org-timer.el
org.el
ox-ascii.el
ox-beamer.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
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-texinfo.el: Fix escaping special chars in raw-path 2020-06-05 14:50:27 +02:00
ox.el ox: Fix extra character deletion after link 2020-02-11 18:59:52 +01:00