[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/with-editor 5cddefa 044/140: Use remacsclient when using r
From: |
Jonas Bernoulli |
Subject: |
[nongnu] elpa/with-editor 5cddefa 044/140: Use remacsclient when using remacs |
Date: |
Fri, 6 Aug 2021 12:51:17 -0400 (EDT) |
branch: elpa/with-editor
commit 5cddefaff6aa0fa8ce2a0fa23900687c07d87481
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Use remacsclient when using remacs
Closes #32.
---
with-editor.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/with-editor.el b/with-editor.el
index c522bed..d06e16f 100644
--- a/with-editor.el
+++ b/with-editor.el
@@ -119,7 +119,8 @@ please see
https://github.com/magit/magit/wiki/Emacsclient."))))
(let* ((version-lst (-take depth (split-string emacs-version "\\.")))
(version-reg (concat "^" (mapconcat #'identity version-lst "\\."))))
(or (locate-file-internal
- "emacsclient" path
+ (if (equal invocation-name "remacs") "remacsclient" "emacsclient")
+ path
(cl-mapcan
(lambda (v) (cl-mapcar (lambda (e) (concat v e)) exec-suffixes))
(nconc (and (boundp 'debian-emacs-flavor)
- [nongnu] elpa/with-editor 07bb67b 010/140: remove with-editor-export-editor from hook for shell-command, (continued)
- [nongnu] elpa/with-editor 07bb67b 010/140: remove with-editor-export-editor from hook for shell-command, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 6f41998 017/140: with-editor-export-editor: fix doc-string, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 0a8d9ce 039/140: manual: set version in Org source, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 1a6c49b 023/140: update list of contributors, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor b2d9d6b 024/140: stop using "BEGIN_EXPORT texinfo" to support Org v9.0, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 8ae3c7a 032/140: Add a space in before export command to avoid polluting HISTFILE, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor ebf6ee4 034/140: with-editor-debug: don't run emacsclientw.exe, it makes popup windows, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 3385ffd 037/140: Revert "Use when-let instead of macros from dash", Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 229e80f 038/140: manual: regenerate using updated Org and Ox-Texinfo+, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 5851e76 043/140: Adapt to bug fixes in ox-texinfo and changes in ox-texinfo+ v2, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 5cddefa 044/140: Use remacsclient when using remacs,
Jonas Bernoulli <=
- [nongnu] elpa/with-editor 1343935 045/140: Fix doc-string typos, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 8d73358 046/140: Provide actual url when mentioning old Magit issue numbers, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 890f923 048/140: Drop dependency on dash, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 2417261 051/140: Guard against nonexistent default directory, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor ae23243 053/140: Cosmetics and typo fixes, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 1b7f6ef 055/140: Require pcase, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor fb9e560 057/140: .travis.yml: fail on byte compilation warnings, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor d68fe1c 061/140: make: rename and sanitize some variables, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 8d3d639 063/140: make: use ox-texinfo+-update-version-strings, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 05338d8 069/140: make: inject style switcher into generated html manual, Jonas Bernoulli, 2021/08/06