Function: eshell/occur

eshell/occur is a byte-compiled function defined in em-unix.el.gz.

Signature

(eshell/occur &rest ARGS)

Documentation

Alias "occur" to call Emacs occur function.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-unix.el.gz
(defun eshell/occur (&rest args)
  "Alias \"occur\" to call Emacs `occur' function."
  (let ((inhibit-read-only t))
    (if (> (length args) 2)
	(error "usage: occur: (REGEXP &optional NLINES)")
      (apply 'occur args))))