Commit 3ced2780 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(nil-blank-string): Doc fix.

parent 4990598e
......@@ -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."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment