From: Stefan Monnier Date: Tue, 11 Apr 2023 01:33:56 +0000 (-0400) Subject: (org-table-make-reference): Fix compiler warning X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=54d40577c4bb64d25db030b7d11ab553364e375d;p=emacs.git (org-table-make-reference): Fix compiler warning * lisp/org/org-table.el (org-table-make-reference): Don't use `eq` to compare against literal strings. --- diff --git a/lisp/org/org-table.el b/lisp/org/org-table.el index 5116b1127f7..a38f2a283d7 100644 --- a/lisp/org/org-table.el +++ b/lisp/org/org-table.el @@ -2861,7 +2861,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 (equal elements "") (not keep-empty)) "" (prin1-to-string (if numbers (string-to-number elements) elements))))