Commit 8a70221722

8a702217224323a7f04cdd3e62a57f5bacb75205

parent: 7fee8f1214

Verified · cmc

cmc <hello@cleberg.net> · 2026-11-21 09:15 UTC

Say a closure from an elisp: link needs Emacs without an untranslated reason

Layout: unified · split

Sources/OrgCore/Links/Links.swift +1 −1
@@ -280,7 +280,7 @@ extension Links {
280280 lisp.standardTime()
281281 do {
282282 let value = try lisp.eval(try LispReader.readFirst(form).sexp)
283 if Elisp.containsClosure(value) { throw Elisp.Unsupported(what: "a closure") }
283 if Elisp.containsClosure(value) { return "This link uses Emacs Lisp that runs only in Emacs." }
284284 return "\(form) => \(try Elisp.format([.string("%s"), value]))"
285285 } catch is Elisp.Unsupported {
286286 return "This link uses Emacs Lisp that runs only in Emacs."