Re: [PATCH] org-attach.el: ID to path functions may return nil

2022-11-07 Thread Ihor Radchenko
Max Nikulin writes: >> AFAIU, your version of `org-attach-dir-from-id' may sometimes return >> nil, which is neither documented > > "otherwise independently of TRY-ALL > value return the first non nil value." > > indirectly assumes nil. It may be made more prominent. I feel like this makes the d

[PATCH] org-attach.el: ID to path functions may return nil

2022-11-07 Thread Max Nikulin
ars to handle nil return value fine. From 19e51a0112353a377deef64a83c02c5ee393a15d Mon Sep 17 00:00:00 2001 From: Max Nikulin Date: Mon, 7 Nov 2022 23:48:02 +0700 Subject: [PATCH] org-attach.el: ID to path functions may return nil * lisp/org-attach.el (org-attach-dir-from-id): Ignore nil values returne