summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/ChangeLog4
-rw-r--r--etc/NEWS12
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/eshell/em-term.el6
4 files changed, 24 insertions, 3 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog
index 53dab540e54..5b6441f06c5 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,7 @@
+2013-06-03 Tassilo Horn <tsdh@gnu.org>
+
+ * NEWS: Document eshell visual subcommands and options.
+
2013-06-02 Eric Ludlam <zappo@gnu.org>
* srecode/c.srt (header_guard): Add :c parameter so it works
diff --git a/etc/NEWS b/etc/NEWS
index 30e41552ce5..b2ecba79684 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -129,6 +129,18 @@ You can pick the name of the function and the variables with `C-x 4 a'.
* Changes in Specialized Modes and Packages in Emacs 24.4
+** `eshell' now supports visual subcommands and options
+Eshell has been able to handle "visual" commands (interactive,
+non-line oriented commands such as top that require display
+capabilities not provided by eshell) by running them in an Emacs
+terminal emulator. See `eshell-visual-commands'.
+
+This feature has been extended to subcommands and options that make a
+usually line-oriented command a visual command. Typical examples are
+"git log" and "git <command> --help" which display their output in a
+pager by default. See `eshell-visual-subcommands' and
+`eshell-visual-options'.
+
** `remember' can now store notes in separates files
You can use the new function `remember-store-in-files' within the
`remember-handler-functions' option.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c96bb0fe2a1..7ee43e602f9 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2013-06-03 Tassilo Horn <tsdh@gnu.org>
+
+ * eshell/em-term.el (eshell-term-initialize): Use
+ `cl-intersection' rather than `intersection'.
+
2013-06-02 Eric Ludlam <zappo@gnu.org>
* emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
diff --git a/lisp/eshell/em-term.el b/lisp/eshell/em-term.el
index 340cfa7006c..0501544789d 100644
--- a/lisp/eshell/em-term.el
+++ b/lisp/eshell/em-term.el
@@ -137,9 +137,9 @@ character to the invoked process."
(or (member command eshell-visual-commands)
(member (car args)
(cdr (assoc command eshell-visual-subcommands)))
- (intersection args
- (cdr (assoc command eshell-visual-options))
- :test 'string=)))))
+ (cl-intersection args
+ (cdr (assoc command eshell-visual-options))
+ :test 'string=)))))
'eshell-exec-visual)
eshell-interpreter-alist)))