emacs-devel
[Top][All Lists]
Advanced

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

Re: buffer-narrowed-p


From: Deniz Dogan
Subject: Re: buffer-narrowed-p
Date: Sun, 11 Oct 2009 22:48:08 +0200

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?

-- 
Deniz Dogan




reply via email to

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