* NEWS: Document eshell visual subcommands and options.
authorTassilo Horn <tsdh@gnu.org>
Mon, 3 Jun 2013 06:34:21 +0000 (08:34 +0200)
committerTassilo Horn <tsdh@gnu.org>
Mon, 3 Jun 2013 06:34:21 +0000 (08:34 +0200)
* eshell/em-term.el (eshell-term-initialize): Use
`cl-intersection' rather than `intersection'.

etc/ChangeLog
etc/NEWS
lisp/ChangeLog
lisp/eshell/em-term.el

index 53dab54..5b6441f 100644 (file)
@@ -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
index 30e4155..b2ecba7 100644 (file)
--- 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'.
 \f
 * 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.
index c96bb0f..7ee43e6 100644 (file)
@@ -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)
index 340cfa7..0501544 100644 (file)
@@ -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)))