emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Silence a warning in org-table.el


From: Bastien
Subject: [PATCH] Silence a warning in org-table.el
Date: Sun, 05 May 2024 18:56:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

The attached patch silences a warning.

This seems trivial, if nobody bites I'll apply this tomorrow.

Thanks!

-- 
 Bastien
diff --git a/lisp/org-table.el b/lisp/org-table.el
index 0c2dc27ed..3d40a02a1 100644
--- a/lisp/org-table.el
+++ b/lisp/org-table.el
@@ -2887,7 +2887,7 @@ list, `literal' is for the format specifier L."
       (if lispp
          (if (eq lispp 'literal)
              elements
-           (if (and (eq elements "") (not keep-empty))
+           (if (and (string= elements "") (not keep-empty))
                 ;; FIXME: This branch of `if' is never used because
                 ;; strings are never `eq' here.  But changing to
                 ;; `equal' breaks tests.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]