bug-gnu-emacs
[Top][All Lists]
Advanced

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

Bug in Emacs' batch mode


From: Davin Pearson
Subject: Bug in Emacs' batch mode
Date: Mon, 11 May 2009 16:09:03 -0700 (PDT)
User-agent: G2/1.0

When I run a file in Emacs' batch mode like so:

emacs --batch --load foo.el

It prints out  the following information:

-*- mode: compilation; default-directory: "~/dlisp/" -*-
Compilation started at Tue May 12 11:06:41

make foo
emacs --batch --load foo.el
Loading cl...
Loading cl-macs...

Compilation finished at Tue May 12 11:06:43
Compilation took 2 seconds

This is a bug because I have redefined the function message to do
nothing.  Therefore it shouldn't print out "Loading cl..." and
"Loading cl-macs".  What follows is the contents of the file foo.el:

(defun message (format-string &rest args) (interactive))

(load-library "cl")
(load-library "cl-macs")
(require 'cl-19 "cl")
(require 'cl)

;; batch code goes here


reply via email to

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