|
From: | Stefan Monnier |
Subject: | Re: [Patch] hard-widen-limits [was Re: Syntax tables for multiple modes [was: bug#22983: syntax-ppss returns wrong result.]] |
Date: | Mon, 21 Mar 2016 10:54:58 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
>>> (defun call-with-hard-narrowing (from to func) >>> (make-local-variable 'internal--hard-widen-limits) >>> (let ((internal--hard-widen-limits (cons from to))) >>> (funcall func))) >> Hmm... I now realize that this won't handle the case of info-mode >> buffers (and similarly rmail buffers) where the hard-narrowing is not >> scoped. > What does this mean in plain English? That it sets narrowing and leaves it there. So it can't use call-with-hard-narrowing for that. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |