emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/beardbolt f89875215b 128/323: Fix byte-compilation warn


From: ELPA Syncer
Subject: [elpa] externals/beardbolt f89875215b 128/323: Fix byte-compilation warnings
Date: Thu, 9 Mar 2023 10:58:24 -0500 (EST)

branch: externals/beardbolt
commit f89875215b91e7261cca0901f6a0170f96163c74
Author: Jay Kamat <jaygkamat@gmail.com>
Commit: Jay Kamat <jaygkamat@gmail.com>

    Fix byte-compilation warnings
---
 rmsbolt.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/rmsbolt.el b/rmsbolt.el
index 1822bcc96e..bd78f392d3 100644
--- a/rmsbolt.el
+++ b/rmsbolt.el
@@ -622,12 +622,14 @@ This should be an object of type `rmsbolt-lang', normally 
set by the major mode"
         (setq pos (match-end 0)))
       matches)))
 
+;; Prevent byte-compilation warnings for cl-print-compiled, which is imported
+;; from cl-print
+(defvar cl-print-compiled)
 (defun rmsbolt--disassemble-file (filename out-buffer)
   "Disassemble an elisp FILENAME into elisp bytecode in OUT-BUFFER.
 Lifted from 
https://emacs.stackexchange.com/questions/35936/disassembly-of-a-bytecode-file";
   (if (not (require 'cl-print nil 'noerror))
       (error "Package cl-print or Emacs 26+ are required for the Emacs 
disassembler")
-    (require 'cl-print)
     (byte-compile-file filename)
     ;; .el -> .elc
     (setq filename (concat filename "c"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]