]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix a typo in ediff-init.el
authorEli Zaretskii <eliz@gnu.org>
Sat, 7 Sep 2024 09:41:29 +0000 (12:41 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 8 Sep 2024 11:24:25 +0000 (13:24 +0200)
* lisp/vc/ediff-init.el (ediff-nonempty-string-p): Fix typo.
Reported by Jurgen De Backer
<jurgen.de-backer.ext@eurocontrol.int> (bug#73042).

(cherry picked from commit b420e149b1ebc41dd183ab460930d78321e2e339)

lisp/vc/ediff-init.el

index 1b478d3f9b7f0e7b8ce09e9047dfdb364230627d..72dae9b678f06602f82b475a0216fafcdb1baf29 100644 (file)
@@ -1451,7 +1451,7 @@ This default should work without changes."
     (ediff-abbreviate-file-name (file-name-directory dir))))
 
 (defsubst ediff-nonempty-string-p (string)
-  (and (stringp string) (string-empty-p string)))
+  (and (stringp string) (not (string-empty-p string))))
 
 (defun ediff-abbrev-jobname (jobname)
   (cond ((eq jobname 'ediff-directories)