Function: eshell-glob-initialize

eshell-glob-initialize is a byte-compiled function defined in em-glob.el.gz.

Signature

(eshell-glob-initialize)

Documentation

Initialize the extended globbing code.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-glob.el.gz
;;; Functions:

(defun eshell-glob-initialize ()    ;Called from `eshell-mode' via intern-soft!
  "Initialize the extended globbing code."
  ;; it's important that `eshell-glob-chars-list' come first
  (when (boundp 'eshell-special-chars-outside-quoting)
    (setq-local eshell-special-chars-outside-quoting
	 (append eshell-glob-chars-list eshell-special-chars-outside-quoting)))
  (add-hook 'eshell-parse-argument-hook 'eshell-parse-glob-chars 90 t)
  (add-hook 'eshell-pre-rewrite-command-hook
	    'eshell-no-command-globbing nil t))