[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/crux 96d4faa 097/112: Silence byte-compiler warnings
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/crux 96d4faa 097/112: Silence byte-compiler warnings |
Date: |
Wed, 11 Aug 2021 09:58:01 -0400 (EDT) |
branch: elpa/crux
commit 96d4faa95d978b22117bf6101d8387054179fadf
Author: Brian Leung <leungbk@mailfence.com>
Commit: Bozhidar Batsov <bozhidar.batsov@gmail.com>
Silence byte-compiler warnings
---
crux.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/crux.el b/crux.el
index 1603d5a..a5893dd 100644
--- a/crux.el
+++ b/crux.el
@@ -146,6 +146,8 @@ expected name of the shell buffer."
"Use ansi-term for `crux-visit-term-buffer'"
(ansi-term crux-shell buffer-name))
+(defvar eshell-buffer-name)
+
(defun crux-eshell (buffer-name)
"Use eshell for `crux-visit-term-buffer'"
(let ((eshell-buffer-name (format "*%s*" buffer-name)))
@@ -542,7 +544,6 @@ See `file-attributes' for more info."
(defun crux-find-alternate-file-as-root (filename)
"Wraps `find-alternate-file' with opening FILENAME as root."
(let ((remote-method (file-remote-p default-directory 'method))
- (remote-user (file-remote-p default-directory 'user))
(remote-host (file-remote-p default-directory 'host))
(remote-localname (file-remote-p filename 'localname)))
(find-alternate-file (format "/%s:root@%s:%s"
- [nongnu] elpa/crux 4f5c8fe 059/112: [Fix #46] Address two issues with crux-move-beginning-line (#48), (continued)
- [nongnu] elpa/crux 4f5c8fe 059/112: [Fix #46] Address two issues with crux-move-beginning-line (#48), ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 49dc7d7 067/112: Remove unused prefix argument from crux-smart-kill-line, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 903db7b 080/112: Add history on crux and links to emacsredux blog posts, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux ba4a1f3 098/112: Restructure the README a bit, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux a0a34d1 100/112: Fix defcustom types, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux acaaa00e 065/112: Bump the copyright years, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux c79985f 077/112: Saner functions for modifying cases on region for humans, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 308f17d 079/112: Bump the copyright years, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux b923d61 082/112: Support creating shells and terminal buffers, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux de603e9 088/112: Add function other-window-or-switch-buffer, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 96d4faa 097/112: Silence byte-compiler warnings,
ELPA Syncer <=
- [nongnu] elpa/crux 501a43c 105/112: Placate byte-compiler, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux d989f2a 110/112: Bump copyright years, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux e0457f6 103/112: Fix a major mode check, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux e3e16c1 066/112: Add a missing space, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux fa064d7 068/112: Remove a bunch of redundant progn usages, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 3e07035 073/112: Add missing autoloads, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 7365fdc 075/112: Add crux-copy-file-preserve-attribute, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux e67d040 078/112: Allow crux-sudo-edit on remote files, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 2a1a39a 083/112: Add a few GitHub templates, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 5ba2f3b 084/112: Add a changelog, ELPA Syncer, 2021/08/11