branch: externals/beardbolt commit f89875215b91e7261cca0901f6a0170f96163c74 Author: Jay Kamat <jaygka...@gmail.com> Commit: Jay Kamat <jaygka...@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"))