branch: externals/detached
commit bae90a13ddff90fcbfa581a1e8556072e01fd09b
Author: Niklas Eklund <[email protected]>
Commit: Niklas Eklund <[email protected]>
Remove unnecessary with-connection-local-variables
---
README.md | 3 ++-
detached-shell.el | 7 +++----
detached-vterm.el | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index ab5bd8cf8b..62516c8d1f 100644
--- a/README.md
+++ b/README.md
@@ -168,11 +168,12 @@ The package implements the commands `detached-compile`
and `detached-compile-rec
The command `detached-consult-session` is a replacement for
`detached-open-session` using the [consult](https://github.com/minad/consult)
package. The difference is that the consult command provides multiple session
sources, which is defined in the `detached-consult-sources` variable. Users can
customize which sources to use, as well as use individual sources in other
`consult` commands, such as `consult-buffer`. The users can also narrow the
list of sessions by entering a key. The list [...]
| Type | Key |
-|-----------------------+-----|
+|-----------------------|-----|
| Active sessions | a |
| Inactive sessions | i |
| Successful sessions | s |
| Failed sessions | f |
+| Hidden sessions | SPC |
| Local host sessions | l |
| Remote host sessions | r |
| Current host sessions | c |
diff --git a/detached-shell.el b/detached-shell.el
index fc4864051c..58a13c38a5 100644
--- a/detached-shell.el
+++ b/detached-shell.el
@@ -116,10 +116,9 @@ cluttering the comint-history with dtach commands."
(defun detached-shell--save-history ()
"Save `shell' history."
- (with-connection-local-variables
- (unless (string-prefix-p detached--shell-command-buffer (buffer-name))
- (let* ((inhibit-message t))
- (comint-write-input-ring)))))
+ (unless (string-prefix-p detached--shell-command-buffer (buffer-name))
+ (let* ((inhibit-message t))
+ (comint-write-input-ring))))
;;;###autoload
(defun detached-shell-override-history (orig-fun &rest args)
diff --git a/detached-vterm.el b/detached-vterm.el
index b9217fd59e..daff21faa4 100644
--- a/detached-vterm.el
+++ b/detached-vterm.el
@@ -19,7 +19,7 @@
;;; Commentary:
-;; This package integrates `detached' with `vterm'
+;; This package integrates `detached' with `vterm'.
;;; Code: