Skip to content
Snippets Groups Projects
Commit c65ab770 authored by ram's avatar ram
Browse files

Fixed COMPILER-ERROR to not assume that all :COMPILE-FILE notes have a Buffer

(which they don't in the case of "Compile File".)
parent d6985b6f
No related branches found
No related tags found
No related merge requests found
......@@ -173,7 +173,8 @@
(:compile
(note-region note))
(:compile-file
(buffer-region (note-buffer note)))
(let ((buff (note-buffer note)))
(and buff (buffer-region buff))))
(t
(error "Compiler error in ~S?" note)))))
(when region
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment