branch: externals/beardbolt
commit 01f7664edae76195e7251884739b2b62ea554301
Author: Jay Kamat <[email protected]>
Commit: Jay Kamat <[email protected]>
Fix tests
---
rmsbolt.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/rmsbolt.el b/rmsbolt.el
index f1fb2b288c..ca507f3dcc 100644
--- a/rmsbolt.el
+++ b/rmsbolt.el
@@ -585,7 +585,8 @@ Outputs assembly file if ASM."
"Process and filter a set of asm lines."
(let* ((lang (with-current-buffer src-buffer
(rmsbolt--get-lang)))
- (process-asm-fn (rmsbolt-l-process-asm-custom-fn lang)))
+ (process-asm-fn (when lang
+ (rmsbolt-l-process-asm-custom-fn lang))))
(cond
(process-asm-fn
(funcall process-asm-fn src-buffer asm-lines))