diff options
| author | Stefan Kangas | 2023-10-01 19:00:26 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2023-10-01 19:00:26 +0200 |
| commit | 6b2219cd2744c711580cc7226554e69c8cec8247 (patch) | |
| tree | 2b5c08b23e802f8e0f4946e94e25087e5ae58e3e | |
| parent | 5d9dbf17cf6123ad24d8f9193818ac64606e3a45 (diff) | |
| download | emacs-6b2219cd2744c711580cc7226554e69c8cec8247.tar.gz emacs-6b2219cd2744c711580cc7226554e69c8cec8247.zip | |
; Add several "duplicate value in `cond`" FIXMEs
* lisp/gnus/gnus-cloud.el (gnus-cloud-decode-data):
* lisp/org/org.el (org-read-date-analyze):
* lisp/org/ox-html.el (org-html-latex-fragment):
Add several "duplicate value in `cond`" FIXMEs.
Found by Mattias Engdegård <mattias.engdegard@gmail.com>.
Ref: https://debbugs.gnu.org/51368#51
| -rw-r--r-- | lisp/gnus/gnus-cloud.el | 1 | ||||
| -rw-r--r-- | lisp/org/org.el | 1 | ||||
| -rw-r--r-- | lisp/org/ox-html.el | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/lisp/gnus/gnus-cloud.el b/lisp/gnus/gnus-cloud.el index ae4c4cc0d71..a21d57d86ff 100644 --- a/lisp/gnus/gnus-cloud.el +++ b/lisp/gnus/gnus-cloud.el | |||
| @@ -148,6 +148,7 @@ easy interactive way to set this from the Server buffer." | |||
| 148 | 148 | ||
| 149 | (defun gnus-cloud-decode-data () | 149 | (defun gnus-cloud-decode-data () |
| 150 | (cond | 150 | (cond |
| 151 | ;; FIXME: Duplicated value in ‘cond’: base64-gzip. | ||
| 151 | ((memq gnus-cloud-storage-method '(base64 base64-gzip)) | 152 | ((memq gnus-cloud-storage-method '(base64 base64-gzip)) |
| 152 | (base64-decode-region (point-min) (point-max))) | 153 | (base64-decode-region (point-min) (point-max))) |
| 153 | 154 | ||
diff --git a/lisp/org/org.el b/lisp/org/org.el index 5a600a84f22..9ca7f155614 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el | |||
| @@ -14035,6 +14035,7 @@ user." | |||
| 14035 | (unless deltadef | 14035 | (unless deltadef |
| 14036 | (let ((now (decode-time))) | 14036 | (let ((now (decode-time))) |
| 14037 | (setq day (nth 3 now) month (nth 4 now) year (nth 5 now)))) | 14037 | (setq day (nth 3 now) month (nth 4 now) year (nth 5 now)))) |
| 14038 | ;; FIXME: Duplicated value in ‘cond’: "" | ||
| 14038 | (cond ((member deltaw '("h" "")) | 14039 | (cond ((member deltaw '("h" "")) |
| 14039 | (when (boundp 'org-time-was-given) | 14040 | (when (boundp 'org-time-was-given) |
| 14040 | (setq org-time-was-given t)) | 14041 | (setq org-time-was-given t)) |
diff --git a/lisp/org/ox-html.el b/lisp/org/ox-html.el index b27254b8ac5..cfad311207a 100644 --- a/lisp/org/ox-html.el +++ b/lisp/org/ox-html.el | |||
| @@ -3094,6 +3094,7 @@ CONTENTS is nil. INFO is a plist holding contextual information." | |||
| 3094 | (let ((latex-frag (org-element-property :value latex-fragment)) | 3094 | (let ((latex-frag (org-element-property :value latex-fragment)) |
| 3095 | (processing-type (plist-get info :with-latex))) | 3095 | (processing-type (plist-get info :with-latex))) |
| 3096 | (cond | 3096 | (cond |
| 3097 | ;; FIXME: Duplicated value in ‘cond’: t | ||
| 3097 | ((memq processing-type '(t mathjax)) | 3098 | ((memq processing-type '(t mathjax)) |
| 3098 | (org-html-format-latex latex-frag 'mathjax info)) | 3099 | (org-html-format-latex latex-frag 'mathjax info)) |
| 3099 | ((memq processing-type '(t html)) | 3100 | ((memq processing-type '(t html)) |