GNU bug report logs - #56682
Fix the long lines font locking related slowdowns

Previous Next

Package: emacs;

Reported by: Gregory Heytings <gregory <at> heytings.org>

Date: Thu, 21 Jul 2022 18:01:01 UTC

Severity: normal

Done: Gregory Heytings <gregory <at> heytings.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gregory Heytings <gregory <at> heytings.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 56682 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, akrl <at> sdf.org
Subject: bug#56682: feature/improved-locked-narrowing 9dee6df39c: Reworked locked narrowing.
Date: Wed, 15 Feb 2023 14:37:12 +0000
>> Yes: that's what the "record_unwind_protect (save_restriction_restore, 
>> save_restriction_save ());" does.
>
> So save_restriction_restore will reinstate the buffer in the 
> narrowing_locks list?
>

Yes:

Lisp_Object
save_restriction_save (void)
{
  Lisp_Object restr = save_restriction_save_1 ();
  Lisp_Object locks = narrowing_locks_save ();
  return Fcons (restr, locks);
}

void
save_restriction_restore (Lisp_Object data)
{
  narrowing_locks_restore (XCDR (data));
  save_restriction_restore_1 (XCAR (data));
}





This bug report was last modified 2 years and 8 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.