branch: externals/denote
commit 37e9a74f7755b2dad303f7780a23e211657ccccd
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Use define-obsolete-function-alias instead of make-obsolete for two
obsolescence warnings
---
denote.el | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/denote.el b/denote.el
index d07266a26b..11b623b303 100644
--- a/denote.el
+++ b/denote.el
@@ -1274,8 +1274,15 @@ For our purposes, a note must satisfy `file-regular-p'
and
`denote-filename-is-note-p'."
(and (file-regular-p file) (denote-filename-is-note-p file)))
-(make-obsolete 'denote-filename-is-note-p nil "4.1.0")
-(make-obsolete 'denote-file-is-note-p nil "4.1.0")
+(define-obsolete-function-alias
+ 'denote-filename-is-note-p
+ 'denote-file-has-denoted-filename-p
+ "4.1.0")
+
+(define-obsolete-function-alias
+ 'denote-file-is-note-p
+ 'denote-file-has-denoted-filename-p
+ "4.1.0")
(defun denote-file-has-denoted-filename-p (file)
"Return non-nil if FILE respects the file-naming scheme of Denote.