Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!ll-xn!husc6!bloom-beacon!mgm.mit.edu!wolfgang From: wolfgang@mgm.mit.edu (Wolfgang Rupprecht) Newsgroups: comp.emacs Subject: Re: Is there a cleaner way to check for a narrowed buffer? Message-ID: <2336@bloom-beacon.MIT.EDU> Date: 18 Jan 88 03:42:57 GMT References: <138@axcess.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Reply-To: wolfgang@mgm.mit.edu (Wolfgang Rupprecht) Organization: Freelance Software Consultant, Cambridge, Ma. Lines: 13 Keywords: GNU Emacs narrow-to-region In article <138@axcess.UUCP> allbery@axcess.UUCP (Brandon S. Allbery) writes: >I have a function which wants to narrow the current buffer to a region only if >it is not already narrowed. [...] but why isn't >some special function provided ( (narrowp) or something ) to do this? (defun narowp () "Return t if buffer is narrowed." (/= 1 (point-min))) --- Wolfgang Rupprecht ARPA: wolfgang@mgm.mit.edu (IP 18.82.0.114) Independent Consultant UUCP: {mit-eddie!mgm.mit.edu,mirror!mit-mgm}!wolfgang VOICE: Hey_Wolfgang!_(617)_267-4365