|
From: | Jesper Harder |
Subject: | Re: detect narrowing? |
Date: | Thu, 18 Sep 2003 01:11:15 +0200 |
User-agent: | Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
Kin Cho <kin@neoscale.com> writes: > Is there a way (in elisp) to detect that a buffer is narrowed? I think this should work: (defun narrowing-in-effect-p () (/= (buffer-size) (- (point-max) (point-min))))
[Prev in Thread] | Current Thread | [Next in Thread] |