branch: externals/denote
commit 529148eba66ce083ff824adb8628e0cfde9d1602
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Elaborate where I learnt about wrong-number-of-arguments error type
---
 denote.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/denote.el b/denote.el
index 2a9cf45183..71559b69c1 100644
--- a/denote.el
+++ b/denote.el
@@ -5315,6 +5315,10 @@ own to return the appropriate description."
                 ;;          (when (get symbol 'error-conditions)
                 ;;            (push symbol errors))))
                 ;;       errors)
+                ;;
+                ;; As for `error-conditions', I looked into the source
+                ;; of `define-error' to figure out what an "error" is
+                ;; and saw the property there.
                 (description (ignore-error wrong-number-of-arguments
                                (funcall denote-link-description-format file 
file-type))))
       description))

Reply via email to