[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/cdlatex 720f9145d8 31/49: Fix bug when "*CDLaTeX Help*" bu
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/cdlatex 720f9145d8 31/49: Fix bug when "*CDLaTeX Help*" buffer was read-only |
Date: |
Mon, 11 Jul 2022 02:58:33 -0400 (EDT) |
branch: elpa/cdlatex
commit 720f9145d88b3e54b5388742c8a1a2b963d74581
Author: Carsten Dominik <carsten.dominik@gmail.com>
Commit: Carsten Dominik <carsten.dominik@gmail.com>
Fix bug when "*CDLaTeX Help*" buffer was read-only
Github issue #24, closed
---
cdlatex.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cdlatex.el b/cdlatex.el
index 4ae1c13267..3dd33bcef0 100644
--- a/cdlatex.el
+++ b/cdlatex.el
@@ -848,6 +848,7 @@ When pressed twice, make the sub/superscript roman."
(if (and (stringp cdlatex-paired-parens)
(string-match (regexp-quote paren) cdlatex-paired-parens)
(string= close (char-to-string (following-char))))
+ ; parens are inserted paired, and there is already a closing
parenthesis
(delete-char 1))
(insert "\\left" paren1 " ? \\right" close1)
(cdlatex-position-cursor)))
@@ -1372,6 +1373,7 @@ zZ
(if (get-buffer-window " *CDLaTeX Help*")
(select-window (get-buffer-window " *CDLaTeX Help*"))
(switch-to-buffer-other-window " *CDLaTeX Help*"))
+ (if buffer-read-only (read-only-mode 'toggle))
(erase-buffer)
(make-local-variable 'truncate-lines)
(setq truncate-lines t)
- [nongnu] elpa/cdlatex 7791fa94d5 46/49: Bump version to 4.12, (continued)
- [nongnu] elpa/cdlatex 7791fa94d5 46/49: Bump version to 4.12, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex a15311a52d 45/49: * cdlatex.el (cdlatex-version): Remove variable, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 76e6d8e068 22/49: Add .gitignore, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 017735c611 23/49: Use spl as abbreviation for split, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 4e939a8386 28/49: reversing previous change for now, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 75c4e9c4e5 44/49: Added `text` macro in math mode, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 90d785a94c 13/49: New option `cdlatex-sub-super-scripts-outside-math-mode'., ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 880723a514 17/49: New variable `cdlatex-use-dollar-to-ensure-math'., ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 4d21552480 36/49: Fix whitespace issues, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 07d45fb38e 41/49: Update .gitignore to ignore .elc and package files, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 720f9145d8 31/49: Fix bug when "*CDLaTeX Help*" buffer was read-only,
ELPA Syncer <=
- [nongnu] elpa/cdlatex 573d0918d0 24/49: Make C-c { wrap the region if there is an active region, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 8e963c6853 35/49: Merge pull request #31 from aluaces/patch-1, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 0eb638546c 37/49: Fix checkdoc issues, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex d7bec27d31 42/49: Add .dir-locals.el to prevent whitespace issues, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex ea52268926 47/49: * cdlatex.el: Fix typos and minor stylistic issues., ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 4633ecf52d 11/49: modified README., ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex f36e5351f6 14/49: Fixed regex in cdlatex-tab to support \(...\), ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex b7183c2200 09/49: texmathp.el removed, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex ef1145697d 20/49: Update README, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 2af5ee74d1 21/49: Add the AMSMATH split environment, ELPA Syncer, 2022/07/11