Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!ll-xn!mit-eddie!bbn!bbn.com!akhanna From: akhanna@bbn.com (Atul Khanna) Newsgroups: comp.emacs Subject: Re: chistory.el Message-ID: <24596@bbn.COM> Date: 16 May 88 16:23:42 GMT References: <1341@its63b.ed.ac.uk> Sender: news@bbn.COM Reply-To: akhanna@alexander.bbn.com.BBN.COM (Atul Khanna) Organization: Bolt Beranek and Newman Inc., Cambridge MA Lines: 30 >Has anyone got the stuff in chistory.el to work? The function >list-command-history prints the command history to a temporary buffer, >then calls eobp to see if anything has been printed. However, it >seems to do this in the wrong buffer - if you call list-command-history >from an empty buffer it complains that there isn't a command history >even if one exists! > >If I call list-command-history from a non-empty buffer I get a different >error. It complains that (lambda (lisp-syntax) ()) has >the wrong number of arguments. At that point I gave up. In the definition of Command-history-setup (in chistory.el), replace the line (lisp-mode-variables) with (lisp-mode-variables emacs-lisp-mode-syntax-table). This works for me anyway. -------------------------------------------------------------------------- Atul C Khanna (akhanna@bbn.com) BBN Communications Corporation 50 Moulton Street Cambridge, MA 02238 .!{decvax, wjh12, ihnp4, harvard}!bbnccv!akhanna