Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!mips!apple!bbn.com!clsib21!mo From: mo@clsib21.UUCP (Maurice O'Donnell) Newsgroups: comp.emacs Subject: Re: saveconf question Message-ID: <1532@clsib21.UUCP> Date: 4 Oct 90 13:29:23 GMT References: <9010022226.AA20833@eclipse.Colorado.EDU> Reply-To: mo@clsib21 (Maurice O'Donnell) Organization: CLSI, Inc. Newtonville, Massachusetts Lines: 40 In article <9010022226.AA20833@eclipse.Colorado.EDU> robh@ECLIPSE.COLORADO.EDU writes: > > >I am trying to get the saveconf feature (as defined in saveconf.el) >to work and have not been successful. I have the following in my >.emacs file: > > (load "saveconf") > (setq auto-save-and-recover-context t) > > >Rob Henderson >robh@Boulder.Colorado.EDU Rob; The following is directly out of my .emacs ;..start ;used to save the current context and allow recovery (require 'saveconf) (setq auto-save-and-recover-context t) (setq save-buffer-context t) (if (null (cdr command-line-args)) ;strip "emacs" off command-line-args (setq inhibit-startup-message (recover-context)) ;and recover ) ;..end If this dosn't work you might check "command-line-args" and modify the if statement as appropiate. hope this helps.... mo -- uucp---------> {...}bbn!clsib21!mo \/ Maurice O'Donnell internet-> mo%clsib21.uucp@bbn.com /\ CLSI, Inc \/ 320 Nevada Street voice---> (617) 965-6310 ext. 294 /\ Newtonville, MA 02160