aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorEli Zaretskii2024-06-01 08:34:43 -0400
committerEli Zaretskii2024-06-01 08:34:43 -0400
commit22d9bbe284e96037f190e0152461efb05cae9455 (patch)
tree25a2fc65c1cc62252bf095ee592829be99c43959 /lisp/eshell
parentbed63ea922a4e13bd3d6fbb3e7e7f2b408779d3b (diff)
parentbf50aa38f9d2a3a5af8d32ce139c7533c912c476 (diff)
downloademacs-22d9bbe284e96037f190e0152461efb05cae9455.tar.gz
emacs-22d9bbe284e96037f190e0152461efb05cae9455.zip
Merge from origin/emacs-29
bf50aa38f9d Improve documentation of case-conversion commands 225b426f256 ; Fix typos
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/esh-util.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/eshell/esh-util.el b/lisp/eshell/esh-util.el
index 47645231b75..85e30e23cec 100644
--- a/lisp/eshell/esh-util.el
+++ b/lisp/eshell/esh-util.el
@@ -337,7 +337,7 @@ doubling it up."
337 337
338(defun eshell-convertible-to-number-p (string) 338(defun eshell-convertible-to-number-p (string)
339 "Return non-nil if STRING can be converted to a number. 339 "Return non-nil if STRING can be converted to a number.
340If `eshell-convert-numeric-aguments', always return nil." 340If `eshell-convert-numeric-arguments', always return nil."
341 (and eshell-convert-numeric-arguments 341 (and eshell-convert-numeric-arguments
342 (string-match 342 (string-match
343 (concat "\\`\\s-*" eshell-number-regexp "\\s-*\\'") 343 (concat "\\`\\s-*" eshell-number-regexp "\\s-*\\'")
@@ -346,7 +346,7 @@ If `eshell-convert-numeric-aguments', always return nil."
346(defun eshell-convert-to-number (string) 346(defun eshell-convert-to-number (string)
347 "Try to convert STRING to a number. 347 "Try to convert STRING to a number.
348If STRING doesn't look like a number (or 348If STRING doesn't look like a number (or
349`eshell-convert-numeric-aguments' is nil), just return STRING 349`eshell-convert-numeric-arguments' is nil), just return STRING
350unchanged." 350unchanged."
351 (if (eshell-convertible-to-number-p string) 351 (if (eshell-convertible-to-number-p string)
352 (string-to-number string) 352 (string-to-number string)
@@ -361,7 +361,7 @@ trailing newlines removed. Otherwise, this behaves as follows:
361 361
362* Split multiline strings by line. 362* Split multiline strings by line.
363 363
364* If `eshell-convert-numeric-aguments' is non-nil and every line 364* If `eshell-convert-numeric-arguments' is non-nil and every line
365 of output looks like a number, convert them to numbers." 365 of output looks like a number, convert them to numbers."
366 (cond 366 (cond
367 ((not (stringp string)) 367 ((not (stringp string))