[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole bdd0ab0 02/21: Use shell with buf-name for cr
From: |
Stefan Monnier |
Subject: |
[elpa] externals/hyperbole bdd0ab0 02/21: Use shell with buf-name for creating the Hyperbole Shell |
Date: |
Fri, 4 Oct 2019 14:58:23 -0400 (EDT) |
branch: externals/hyperbole
commit bdd0ab0be74bad3083057322a1abf669ee2c1c67
Author: Mats Lidell <address@hidden>
Commit: Mats Lidell <address@hidden>
Use shell with buf-name for creating the Hyperbole Shell
---
hactypes.el | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/hactypes.el b/hactypes.el
index c0b6f82..174b4d0 100644
--- a/hactypes.el
+++ b/hactypes.el
@@ -128,7 +128,7 @@ kill the last output to the shell buffer before executing
SHELL-CMD."
(hpath:display-buffer (current-buffer))
(if (eq (minibuffer-window) (selected-window))
(other-window 1))
- (shell) (rename-buffer buf-name)
+ (shell buf-name)
(setq comint-last-input-start (point-marker)
comint-last-input-end (point-marker))))
(hpath:display-buffer buf-name)
@@ -163,13 +163,11 @@ kill the last output to the shell buffer before executing
SHELL-CMD."
(save-excursion
(save-window-excursion
(cond ((fboundp 'new-shell) (new-shell))
- (t (shell)))
- (setq shell-buf (current-buffer))))
+ (t (shell buf-name)))))
(message msg)
;; Wait for shell to startup before sending it input.
(sit-for 1)
- (set-buffer shell-buf)
- (rename-buffer buf-name)
+ (set-buffer buf-name)
(setq comint-last-input-start (point-marker)
comint-last-input-end (point-marker)))
(or (equal (buffer-name (current-buffer)) buf-name)
- [elpa] externals/hyperbole updated (df1d940 -> 62a9db3), Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole bdd0ab0 02/21: Use shell with buf-name for creating the Hyperbole Shell,
Stefan Monnier <=
- [elpa] externals/hyperbole d885051 03/21: Account for that current-time-zone returnes offset in seconds, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole f5a4e99 07/21: Set up Hyperbole for use from source folder, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 7520516 11/21: Merge pull request #14 from matsl/account-for-current-time-zone, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 210d000 05/21: Merge with 'elpa/externals/hyperbole', Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 8c64af9 06/21: Merge pull request #12 from matsl/merge-with-elpa, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole b155e83 01/21: 7.0.3.3 test release: Flash pathname implicit buttons; improve doc, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole bf789e0 18/21: Merge pull request #18 from matsl/add-hyperbole-banner, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 5cb81a3 09/21: Merge pull request #15 from matsl/use-shell-with-buf-name, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 519a7fc 14/21: Update pdf version of the manual, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 6b44594 13/21: Add src and bin targets for test release setup, Stefan Monnier, 2019/10/04