Path: utzoo!mnetor!uunet!nbires!hao!gatech!purdue!narten From: narten@cs.purdue.EDU (Thomas Narten) Newsgroups: comp.emacs Subject: Re: scope rules for "let" Message-ID: <3300@arthur.cs.purdue.edu> Date: 24 Feb 88 03:28:03 GMT Sender: news@cs.purdue.EDU Organization: Department of Computer Science, Purdue University Lines: 18 In article <3292@arthur.cs.purdue.edu> narten@cs.purdue.EDU (Thomas Narten) writes: >(let (buffer-read-only) > /* muck with the buffer */ > > ) > I found my problem. The code in "muck with the buffer" included a line of the form: (switch-to-buffer-other-window folder) Switching buffers apparently prevents "buffer-read-only" from reverting back to its original value upon exiting the "let". Moving the line outside of the let fixed my problem. -- Thomas Narten narten@cs.purdue.edu or {ihnp4, allegra}!purdue!narten