return XMARKER (marker);
}
-/* Retrieve the tag of the innermost narrowing in BUF. */
+/* Retrieve the tag of the innermost narrowing in BUF. Return nil if
+ BUF is not in narrowing_locks or is a killed buffer. */
static Lisp_Object
narrowing_lock_peek_tag (Lisp_Object buf)
{
Fwiden ();
}
-/* Narrow current_buffer to BEGV-ZV with a locked narrowing */
+/* Narrow current_buffer to BEGV-ZV with a narrowing locked with TAG. */
void
narrow_to_region_locked (Lisp_Object begv, Lisp_Object zv, Lisp_Object tag)
{