Revert "org-table-make-reference: Disable compiler warning"

This reverts commit bdc60fb936.

Apparently, the branch of if used sometimes and that sometimes is
covered by tests.  Strange.  Leave it be for now.
This commit is contained in:
Ihor Radchenko 2024-01-11 15:45:09 +01:00
parent bdc60fb936
commit fad90df535
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 2 additions and 3 deletions

View File

@ -2864,14 +2864,13 @@ list, `literal' is for the format specifier L."
(if lispp (if lispp
(if (eq lispp 'literal) (if (eq lispp 'literal)
elements elements
(if nil (if (and (eq elements "") (not keep-empty))
;; (and (eq elements "") (not keep-empty))
;; FIXME: This branch of `if' is never used because ;; FIXME: This branch of `if' is never used because
;; strings are never `eq' here. But changing to ;; strings are never `eq' here. But changing to
;; `equal' breaks tests. ;; `equal' breaks tests.
;; See ;; See
;; https://list.orgmode.org/orgmode/20230827214320.46754-1-salutis@me.com/ ;; https://list.orgmode.org/orgmode/20230827214320.46754-1-salutis@me.com/
"" ""
(prin1-to-string (prin1-to-string
(if numbers (string-to-number elements) elements)))) (if numbers (string-to-number elements) elements))))
(if (string-match "\\S-" elements) (if (string-match "\\S-" elements)