]> git.eshelyaron.com Git - emacs.git/commitdiff
(org-table-make-reference): Fix compiler warning
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 11 Apr 2023 01:33:56 +0000 (21:33 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 11 Apr 2023 01:33:56 +0000 (21:33 -0400)
* lisp/org/org-table.el (org-table-make-reference): Don't use `eq` to
compare against literal strings.

lisp/org/org-table.el

index 5116b1127f778922ecd9741abbba7043ff666abd..a38f2a283d79d0f46fcbf52938cc32e56f682c81 100644 (file)
@@ -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))))