aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorJohn Wiegley2001-01-26 06:19:25 +0000
committerJohn Wiegley2001-01-26 06:19:25 +0000
commit219227ead0447814c838935b8d5d06fd2095546d (patch)
tree9501e9229c038e8a88bc0eefaa96ea8c8dc2f8b9 /lisp/eshell
parent8844fa83d302c082faf9976fa3253709afda0d2c (diff)
downloademacs-219227ead0447814c838935b8d5d06fd2095546d.tar.gz
emacs-219227ead0447814c838935b8d5d06fd2095546d.zip
See ChangeLog
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/em-unix.el8
-rw-r--r--lisp/eshell/esh-util.el9
2 files changed, 9 insertions, 8 deletions
diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el
index c9b3d418b83..726fd0eeaf6 100644
--- a/lisp/eshell/em-unix.el
+++ b/lisp/eshell/em-unix.el
@@ -1,6 +1,6 @@
1;;; em-unix --- UNIX command aliases 1;;; em-unix --- UNIX command aliases
2 2
3;; Copyright (C) 1999, 2000 Free Software Foundation 3;; Copyright (C) 1999, 2000, 2001 Free Software Foundation
4 4
5;; Author: John Wiegley <johnw@gnu.org> 5;; Author: John Wiegley <johnw@gnu.org>
6 6
@@ -974,9 +974,9 @@ Show wall-clock time elapsed during execution of COMMAND.")
974(defun eshell/occur (&rest args) 974(defun eshell/occur (&rest args)
975 "Alias \"occur\" to call Emacs `occur' function." 975 "Alias \"occur\" to call Emacs `occur' function."
976 (let ((inhibit-read-only t)) 976 (let ((inhibit-read-only t))
977 (if args 977 (if (> (length args) 2)
978 (error "usage: occur: (REGEXP)") 978 (error "usage: occur: (REGEXP &optional NLINES)")
979 (occur (car args))))) 979 (apply 'occur args))))
980 980
981;;; Code: 981;;; Code:
982 982
diff --git a/lisp/eshell/esh-util.el b/lisp/eshell/esh-util.el
index 354905edc24..440cf01d607 100644
--- a/lisp/eshell/esh-util.el
+++ b/lisp/eshell/esh-util.el
@@ -98,10 +98,11 @@ function `string-to-number'."
98 98
99(defcustom eshell-ange-ls-uids nil 99(defcustom eshell-ange-ls-uids nil
100 "*List of user/host/id strings, used to determine remote ownership." 100 "*List of user/host/id strings, used to determine remote ownership."
101 :type '(alist :key-type (string :tag "Hostname") 101 :type '(repeat (cons :tag "Host for User/UID map"
102 :value-type (alist :tag "User/UID List" 102 (string :tag "Hostname")
103 :key-type (string :tag "Username") 103 (repeat (cons :tag "User/UID List"
104 :value-type (repeat :tag "UIDs" string))) 104 (string :tag "Username")
105 (repeat :tag "UIDs" string)))))
105 :group 'eshell-util) 106 :group 'eshell-util)
106 107
107;;; Internal Variables: 108;;; Internal Variables: