;;; -*- lexical-binding: t -*- ;; ;; /opt/emacs/bin/emacs -Q --batch -L . --eval "(load (native-compile \"/tmp/bug.el\"))" -f run (require 'cl-lib) (cl-defstruct foobles bar baz) (defun bug (foo) (message "is? %s" (foobles-p foo)) (message "is? %s" (foobles-p foo)) (message "bar: %s" (foobles-bar foo))) (defun run () (message "Running in %s" (version)) (let ((foo "foo")) (bug foo)))