* lisp/eshell/em-elecslash.el:
* lisp/eshell/em-extpipe.el:
* lisp/eshell/em-pred.el (eshell-get-delimited-modifier-argument):
* lisp/eshell/esh-cmd.el (eshell--unmark-deferrable)
(eshell-named-command-hook):
* lisp/eshell/esh-module.el (eshell-module--feature-name):
* lisp/eshell/esh-util.el (eshell-find-delimiter): Checkdoc fixes.
(cherry picked from commit
7350457c793f5f6b7cd331b85ef5779ca17a1c27)
(insert "/")))))
(provide 'em-elecslash)
-;;; esh-elecslash.el ends here
+;;; em-elecslash.el ends here
(error "Unhandled external pipeline in input text"))
(provide 'em-extpipe)
-;;; esh-extpipe.el ends here
+;;; em-extpipe.el ends here
If CHAINED-P is true, then another delimited modifier argument
will immediately follow this one. In this case, when the opening
and closing delimiters are the same, update point to be just
-before the closing delimiter. This allows modifiers like
+before the closing delimiter. This allows modifiers like
`:s/match/repl' to work as expected."
(when-let* ((open (char-after))
(close (cdr (assoc open eshell-pred-delimiter-pairs)))
:type 'hook)
(defcustom eshell-named-command-hook nil
- "A set of functions called before
-a named command is invoked.
+ "A set of functions called before a named command is invoked.
Each function will be passed the command name and arguments that were
passed to `eshell-named-command'.
This changes COMMAND in-place by converting function calls listed
in `eshell-deferrable-commands' to their non-deferrable forms so
that Eshell doesn't erroneously allow deferring it. For example,
-`eshell-named-command' becomes `eshell-named-command*', "
+`eshell-named-command' becomes `eshell-named-command*'."
(let ((cmd command))
(when (memq (car cmd) '(let progn))
(setq cmd (car (last cmd))))
(let ((module-name (symbol-name module))
(prefix (cond ((eq kind 'core) "esh-")
((memq kind '(extension nil)) "em-")
- (t (error "unknown module kind %s" kind)))))
+ (t (error "Unknown module kind %s" kind)))))
(if (string-match "^eshell-\\(.*\\)" module-name)
(concat prefix (match-string 1 module-name))
(error "Invalid Eshell module name: %s" module))))
(defun eshell-find-delimiter
(open close &optional bound reverse-p backslash-p)
"From point, find the CLOSE delimiter corresponding to OPEN.
-The matching is bounded by BOUND. If REVERSE-P is non-nil,
+The matching is bounded by BOUND. If REVERSE-P is non-nil,
process the region backwards.
If BACKSLASH-P is non-nil, or OPEN and CLOSE are different