From: Juanma Barranquero Date: Fri, 26 Oct 2007 08:53:45 +0000 (+0000) Subject: (nil-blank-string): Doc fix. X-Git-Tag: emacs-pretest-23.0.90~10063 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3ced278069492775a7ad76a2d051ad170a06b83f;p=emacs.git (nil-blank-string): Doc fix. --- 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."