Commit 8a70221722
Verified · cmc
Layout: unified · split
Sources/OrgCore/Links/Links.swift +1 −1
| @@ -280,7 +280,7 @@ extension Links { | ||
| 280 | 280 | lisp.standardTime() |
| 281 | 281 | do { |
| 282 | 282 | 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." } | |
| 284 | 284 | return "\(form) => \(try Elisp.format([.string("%s"), value]))" |
| 285 | 285 | } catch is Elisp.Unsupported { |
| 286 | 286 | return "This link uses Emacs Lisp that runs only in Emacs." |