org-file-contents: Improve comment

* lisp/org.el (org-file-contents): Link to an example when
`file-remote-p' may throw an error.
This commit is contained in:
Ihor Radchenko 2024-03-30 13:01:17 +03:00
parent e9c288dfac
commit c0e732266b
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 0 deletions

View File

@ -4653,6 +4653,7 @@ is available. This option applies only if FILE is a URL."
(is-remote (condition-case nil
(file-remote-p file)
;; In case of error, be safe.
;; See bug#68976.
(t t)))
(cache (and is-url
(not nocache)