[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/with-editor ebcbd3b 134/140: Use defvar-local instead of m
From: |
Jonas Bernoulli |
Subject: |
[nongnu] elpa/with-editor ebcbd3b 134/140: Use defvar-local instead of make-variable-buffer-local |
Date: |
Fri, 6 Aug 2021 12:51:35 -0400 (EDT) |
branch: elpa/with-editor
commit ebcbd3b137154e6c5a2b976bacbb89d48ddfa242
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Use defvar-local instead of make-variable-buffer-local
---
with-editor.el | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/with-editor.el b/with-editor.el
index ed1841c..c35e0fa 100644
--- a/with-editor.el
+++ b/with-editor.el
@@ -318,12 +318,9 @@ And some tools that do not handle $EDITOR properly also
break."
(put 'with-editor-post-finish-hook 'permanent-local t)
(put 'with-editor-post-cancel-hook 'permanent-local t)
-(defvar with-editor-show-usage t)
-(defvar with-editor-cancel-message nil)
-(defvar with-editor-previous-winconf nil)
-(make-variable-buffer-local 'with-editor-show-usage)
-(make-variable-buffer-local 'with-editor-cancel-message)
-(make-variable-buffer-local 'with-editor-previous-winconf)
+(defvar-local with-editor-show-usage t)
+(defvar-local with-editor-cancel-message nil)
+(defvar-local with-editor-previous-winconf nil)
(put 'with-editor-cancel-message 'permanent-local t)
(put 'with-editor-previous-winconf 'permanent-local t)
- [nongnu] elpa/with-editor ff23166 099/140: Add .github/FUNDING.yml, (continued)
- [nongnu] elpa/with-editor ff23166 099/140: Add .github/FUNDING.yml, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor f5a8d96 100/140: with-editor-usage-message: Delay message a little longer, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor ba4ca8a 108/140: with-editor-finish: Fix bug concerning git-commit-post-finish-hook, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 324285f 109/140: Add htmlxref.cnf, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 9097321 112/140: with-editor-export-editor: Fix for term-mode, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor d8f2e99 116/140: Fix typo, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor f2a9b02 121/140: manual: Add indices, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 7c51288 122/140: make-process--with-editor-process-filter: &allow-other-keys, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 236c158 127/140: Require subr-x for when-let, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 36e163c 132/140: manual: Reorder header properties a bit, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor ebcbd3b 134/140: Use defvar-local instead of make-variable-buffer-local,
Jonas Bernoulli <=
- [nongnu] elpa/with-editor 48e1b2d 082/140: with-editor-shell-command-use-emacsclient: Fix last modified info, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor ac6b2e3 085/140: with-editor*: New macro, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 53dcd4d 106/140: Fix typos, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 590ff0b 124/140: manual: Use a favicon in html export, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor a339d65 126/140: with-editor-export-editor: Support vterm, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 5b62e6e 138/140: AUTHORS.md: Update list of contributors, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor f69daaf 084/140: with-editor-{finish, cancel}: Run post hooks in correct directory, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 76f238f 088/140: make: Remove leftover debug statement, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 23919ec 095/140: Release version 2.8.2, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor a16f5e8 101/140: with-editor-usage-message: New variable, Jonas Bernoulli, 2021/08/06