summaryrefslogtreecommitdiff
path: root/lisp/eshell
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2007-10-26 08:53:45 +0000
committerJuanma Barranquero <lekktu@gmail.com>2007-10-26 08:53:45 +0000
commit3ced278069492775a7ad76a2d051ad170a06b83f (patch)
tree9594e648b27eafeb980b24e86194f7131af11c38 /lisp/eshell
parent4990598e2ca81efe8086c77e89324736c9fd3a61 (diff)
downloademacs-3ced278069492775a7ad76a2d051ad170a06b83f.tar.gz
(nil-blank-string): Doc fix.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/em-unix.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el
index 384fa083947..33514d515af 100644
--- a/lisp/eshell/em-unix.el
+++ b/lisp/eshell/em-unix.el
@@ -974,12 +974,11 @@ Show wall-clock time elapsed during execution of COMMAND.")
(if eshell-diff-window-config
(set-window-configuration eshell-diff-window-config)))
-(defun nil-blank-string ( string )
- "if a string is all blanks return nil, if there are non-blank characters
-return the string"
+(defun nil-blank-string (string)
+ "Return STRING, or nil if STRING contains only non-blank characters."
(cond
- ((string-match "[^[:blank:]]" string ) string)
- (nil)))
+ ((string-match "[^[:blank:]]" string) string)
+ (nil)))
(defun eshell/diff (&rest args)
"Alias \"diff\" to call Emacs `diff' function."