emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: buffer-narrowed-p


From: Lennart Borgman
Subject: Re: buffer-narrowed-p
Date: Sun, 11 Oct 2009 23:25:02 +0200

On Sun, Oct 11, 2009 at 10:48 PM, Deniz Dogan <address@hidden> wrote:
> 2009/10/11 Lennart Borgman <address@hidden>:
>> Could this perhaps be included in Emacs?
>>
>> ';;;###autoload
>> (defun buffer-narrowed-p ()
>>  "Return non-nil if the current buffer is narrowed."
>>  (/= (buffer-size)
>>      (- (point-max)
>>         (point-min))))
>>
>>
>>
>
> I was almost certain a function like this existed already. Am I mistaken?


I thought so too, but it is actually part of nXhtml ... ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]