diff options
| author | Juanma Barranquero | 2007-10-26 08:53:45 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-10-26 08:53:45 +0000 |
| commit | 3ced278069492775a7ad76a2d051ad170a06b83f (patch) | |
| tree | 9594e648b27eafeb980b24e86194f7131af11c38 | |
| parent | 4990598e2ca81efe8086c77e89324736c9fd3a61 (diff) | |
| download | emacs-3ced278069492775a7ad76a2d051ad170a06b83f.tar.gz emacs-3ced278069492775a7ad76a2d051ad170a06b83f.zip | |
(nil-blank-string): Doc fix.
| -rw-r--r-- | lisp/eshell/em-unix.el | 9 |
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.") | |||
| 974 | (if eshell-diff-window-config | 974 | (if eshell-diff-window-config |
| 975 | (set-window-configuration eshell-diff-window-config))) | 975 | (set-window-configuration eshell-diff-window-config))) |
| 976 | 976 | ||
| 977 | (defun nil-blank-string ( string ) | 977 | (defun nil-blank-string (string) |
| 978 | "if a string is all blanks return nil, if there are non-blank characters | 978 | "Return STRING, or nil if STRING contains only non-blank characters." |
| 979 | return the string" | ||
| 980 | (cond | 979 | (cond |
| 981 | ((string-match "[^[:blank:]]" string ) string) | 980 | ((string-match "[^[:blank:]]" string) string) |
| 982 | (nil))) | 981 | (nil))) |
| 983 | 982 | ||
| 984 | (defun eshell/diff (&rest args) | 983 | (defun eshell/diff (&rest args) |
| 985 | "Alias \"diff\" to call Emacs `diff' function." | 984 | "Alias \"diff\" to call Emacs `diff' function." |