diff options
| author | Reuben Thomas | 2020-09-13 18:05:47 +0100 |
|---|---|---|
| committer | Reuben Thomas | 2020-09-13 18:05:47 +0100 |
| commit | 3eb4e0db5ce247f8396daac3156087fbb7aefbd4 (patch) | |
| tree | 1e2c375f1ab3671291af93dfe36554d35f51564d | |
| parent | f9aa499afa2f65952b5ec7905bf836f6a2ccbfd4 (diff) | |
| download | emacs-3eb4e0db5ce247f8396daac3156087fbb7aefbd4.tar.gz emacs-3eb4e0db5ce247f8396daac3156087fbb7aefbd4.zip | |
Escape ampersand in table.el LaTeX output
* lisp/textmodes/table.el (table--generate-source-scan-lines): Add
ampersand '&' to the list of characters to escape in LaTeX output.
| -rw-r--r-- | lisp/textmodes/table.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/table.el b/lisp/textmodes/table.el index cfe6ce5ce61..c7bf687a9e1 100644 --- a/lisp/textmodes/table.el +++ b/lisp/textmodes/table.el | |||
| @@ -3279,7 +3279,7 @@ Currently this method is for LaTeX only." | |||
| 3279 | (with-temp-buffer | 3279 | (with-temp-buffer |
| 3280 | (insert line) | 3280 | (insert line) |
| 3281 | (goto-char (point-min)) | 3281 | (goto-char (point-min)) |
| 3282 | (while (re-search-forward "\\([#$~_^%{}]\\)\\|\\(\\\\\\)\\|\\([<>|]\\)" nil t) | 3282 | (while (re-search-forward "\\([#$~_^%{}&]\\)\\|\\(\\\\\\)\\|\\([<>|]\\)" nil t) |
| 3283 | (if (match-beginning 1) | 3283 | (if (match-beginning 1) |
| 3284 | (save-excursion | 3284 | (save-excursion |
| 3285 | (goto-char (match-beginning 1)) | 3285 | (goto-char (match-beginning 1)) |