Path: utzoo!attcan!uunet!lll-winken!ames!xanth!nic.MR.NET!shamash!garnet!randy From: randy@garnet.UUCP (Randy Orrison) Newsgroups: comp.emacs Subject: How do I abort processing of .emacs? Message-ID: <103@garnet.UUCP> Date: 10 Jan 89 20:45:12 GMT Reply-To: randy@garnet.UUCP (Randy Orrison) Distribution: na Organization: Control Data in the Hills of Arden, Minnesota Lines: 22 I'm a little annoyed with the behavior of GNU emacs when I'm su'ed to root. It reads my .emacs file (~randy/.emacs) instead of /.emacs, which isn't too bad, though I'd prefer it read /.emacs. In my .emacs, though, I have a backup package which I got from someone on the net (Neil Gordon Smithline ) which puts all the backups in ~/.gnubackups. For this, emacs expands ~ as /, but I don't have a /.gnubackups directory, and don't want one. I'd like to not load the backups stuff when su'ed. So, here's what I want to do: (if (equal (getenv "HOME") "/") ( skip-the-rest-of-.emacs )) How do I do the skip? (Or, is there a better way to do what I want?) Thanks!!! -randy (P.S. someday I'm going to read the elisp programming manual and write a function that re-formats quoted paragraphs, keeping the '> ' at the beginning of each line, unless someone else has already done this... hint hint)