branch: externals/rec-mode
commit 2735e993bf5b90de79de990be6b71e48b6478ed2
Author: Jose E. Marchesi <[email protected]>
Commit: Antoine Kalmbach <[email protected]>
rec-mode: avoid extra unused window in fast selection.
---
etc/rec-mode.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/etc/rec-mode.el b/etc/rec-mode.el
index 6858700..86de3f9 100644
--- a/etc/rec-mode.el
+++ b/etc/rec-mode.el
@@ -1311,7 +1311,7 @@ Each character should identify only one name."
(save-window-excursion
(set-buffer (get-buffer-create " *Rec Fast Selection*"))
(delete-other-windows)
- (split-window-vertically)
+;; (split-window-vertically)
(switch-to-buffer-other-window (get-buffer-create " *Rec Fast
Selection*"))
(erase-buffer)
(insert prompt ":")
@@ -1546,6 +1546,7 @@ ARGS contains the arguments to pass to the program."
(progn
;; Prepare the arguments to recsel based on the arguments
;; passed to this function.
+
(when (stringp type)
(setq args (cons "-t" (cons type args))))
(when (stringp join)