[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote f26d8d7799 08/20: Handle nil case in denote-sort
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote f26d8d7799 08/20: Handle nil case in denote-sort--define-lessp |
Date: |
Wed, 20 Dec 2023 03:58:01 -0500 (EST) |
branch: externals/denote
commit f26d8d7799231cbf8bd5fda6cdd0d7eec671d085
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Handle nil case in denote-sort--define-lessp
---
denote-sort.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/denote-sort.el b/denote-sort.el
index d9fd56c24f..3e75b3e628 100644
--- a/denote-sort.el
+++ b/denote-sort.el
@@ -58,8 +58,8 @@ two title values."
component)
(let* ((one (,retrieve-fn file1))
(two (,retrieve-fn file2))
- (one-empty-p (string-empty-p one))
- (two-empty-p (string-empty-p two)))
+ (one-empty-p (or (null one) (string-empty-p one)))
+ (two-empty-p (or (null two) (string-empty-p two))))
(cond
(one-empty-p nil)
((and (not one-empty-p) two-empty-p) one)
- [elpa] externals/denote aa7bf58234 18/20: Enable Denote menu bar by default, (continued)
- [elpa] externals/denote aa7bf58234 18/20: Enable Denote menu bar by default, ELPA Syncer, 2023/12/20
- [elpa] externals/denote f770346729 19/20: Merge branch 'main' of git.sr.ht:~protesilaos/denote, ELPA Syncer, 2023/12/20
- [elpa] externals/denote 667c1370ba 15/20: Remove unwind-protect from denote--command-with-default-title, ELPA Syncer, 2023/12/20
- [elpa] externals/denote 6d71d3e1d3 04/20: Refactor denote-retrieve-filename-* functions, ELPA Syncer, 2023/12/20
- [elpa] externals/denote 7ca08f2a66 07/20: Refactor denote-org-capture and remove denote-org-capture-with-prompts, ELPA Syncer, 2023/12/20
- [elpa] externals/denote f0910d3146 13/20: Add denote-menu-bar-mode, making the Denote menu bar optional, ELPA Syncer, 2023/12/20
- [elpa] externals/denote 6e5ddc2623 01/20: Refactor denote-file-has-identifier-p and use it in various functions, ELPA Syncer, 2023/12/20
- [elpa] externals/denote faaf5f94ab 03/20: Use denote-rename-max-mini-window-height in denote-change-file-type-and-front-matter, ELPA Syncer, 2023/12/20
- [elpa] externals/denote e6b7ba74e6 05/20: Make denote-retrieve-filename-identifier consistent with other functions, ELPA Syncer, 2023/12/20
- [elpa] externals/denote f1730b7798 17/20: Acknowledge Ashton Wiersdorf for commit e2ba6c1, ELPA Syncer, 2023/12/20
- [elpa] externals/denote f26d8d7799 08/20: Handle nil case in denote-sort--define-lessp,
ELPA Syncer <=
- [elpa] externals/denote 4899ca5c78 09/20: Remove separator for the last file in denote-org-dblock-add-files, ELPA Syncer, 2023/12/20
- [elpa] externals/denote 6acb25c7ec 10/20: Create aliases for denote-retrieve-front-matter-* functions, ELPA Syncer, 2023/12/20
- [elpa] externals/denote 195f0c3b7f 14/20: Acknowledge Joseph Turner for commits 4261d19, f0910d3, ELPA Syncer, 2023/12/20
- [elpa] externals/denote 3d4891b5dd 06/20: Rename denote-retrieve-title-* and denote-retrieve-keywords-* functions, ELPA Syncer, 2023/12/20
- [elpa] externals/denote e2ba6c144d 16/20: Guard sorting keywords when given an empty string, ELPA Syncer, 2023/12/20
- [elpa] externals/denote ee58ae014d 20/20: Merge pull request #199 from jeanphilippegg/refactor, ELPA Syncer, 2023/12/20
- [elpa] externals/denote 2b627aaafd 11/20: Add denote-org-capture-with-prompts, ELPA Syncer, 2023/12/20