mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-25 23:10:47 -08:00
(nil-blank-string): Doc fix.
This commit is contained in:
parent
4990598e2c
commit
3ced278069
1 changed files with 4 additions and 5 deletions
|
|
@ -974,11 +974,10 @@ 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)
|
||||
((string-match "[^[:blank:]]" string) string)
|
||||
(nil)))
|
||||
|
||||
(defun eshell/diff (&rest args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue