[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/excorporate 68c5585 17/93: packages/excorporate: Intero
From: |
Stefan Monnier |
Subject: |
[elpa] externals/excorporate 68c5585 17/93: packages/excorporate: Interoperate with `save-some-buffers' |
Date: |
Sun, 29 Nov 2020 15:42:59 -0500 (EST) |
branch: externals/excorporate
commit 68c558541ae3ea2d35a6aaee65327c9d9f691daa
Author: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Commit: Thomas Fitzsimmons <fitzsim@fitzsim.org>
packages/excorporate: Interoperate with `save-some-buffers'
* packages/excorporate/excorporate-org.el
(exco-org-initialize-buffer): Set buffer-file-name to
excorporate-org-buffer-name during org-mode initialization
(bug#23765).
---
excorporate-org.el | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/excorporate-org.el b/excorporate-org.el
index 05d11fb..2266161 100644
--- a/excorporate-org.el
+++ b/excorporate-org.el
@@ -34,8 +34,14 @@
"Add initial text to the destination buffer."
(with-current-buffer (get-buffer-create excorporate-org-buffer-name)
(setq buffer-read-only t)
- (setq buffer-file-name excorporate-org-buffer-name)
- (org-mode)
+ ;; Some Org mode configurations need `buffer-file-name' to be
+ ;; non-nil, or they'll make `org-mode' error out, for example
+ ;; `org-startup-with-latex-preview'. Set `buffer-file-name' to
+ ;; something non-nil temporarily during initialization. Don't
+ ;; leave it set or `save-some-buffers' will always prompt about
+ ;; *Excorporate*.
+ (let ((buffer-file-name excorporate-org-buffer-name))
+ (org-mode))
(use-local-map (copy-keymap org-mode-map))
(local-set-key "q" 'quit-window)
(display-buffer (current-buffer))
- [elpa] externals/excorporate 7849d8f 42/93: excorporate-diary: Add feature idea comment, (continued)
- [elpa] externals/excorporate 7849d8f 42/93: excorporate-diary: Add feature idea comment, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate f3888e1 77/93: Excorporate: Require Org 9.0 or newer, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 2f76f57 71/93: Excorporate: Change organizer representation, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 30cc0bd 63/93: Excorporate: Add appointment deletion in Org buffer, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 538e908 68/93: Excorporate: Support cancelling meetings in Org buffer, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 8e7779a 81/93: Excorporate: Expand responses in API usage examples, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 5f81163 88/93: Excorporate: Fix a byte-compilation warning, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 34827cc 06/93: packages/excorporate: Retrieve Services.wsdl directly, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate da2b980 08/93: packages/excorporate: Improve exco-get-meetings-for-day, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate da594da 14/93: packages/excorporate: Bump version to 0.7.3, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 68c5585 17/93: packages/excorporate: Interoperate with `save-some-buffers',
Stefan Monnier <=
- [elpa] externals/excorporate 52d6067 21/93: excorporate.el: Bump version to 0.7.6, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 7e855f7 23/93: excorporate.el: Bump soap-client requirement to 3.1.4, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate a588ff6 27/93: packages/excorporate: Bump version to 0.7.7, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 23e514f 33/93: packages/excorporate: Mention appt features in documentation, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate e788f73 38/93: Advise icalendar--add-diary-entry conditionally, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate eb2430f 34/93: packages/excorporate: Bump version to 0.8.0, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate a8ba2d4 30/93: packages/excorporate: Add diary and appt integration, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 2e13256 49/93: excorporate-diary: Don't force diary-fancy-display, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 556433b 54/93: excorporate: Bump required package versions, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate ba927b9 52/93: packages/excorporate: Update HTTP debugging steps, Stefan Monnier, 2020/11/29