emacs-devel
[Top][All Lists]
Advanced

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

[PATCH 0/7] Cleanups and tests for DEFVAR_PER_BUFFER variables


From: Spencer Baugh
Subject: [PATCH 0/7] Cleanups and tests for DEFVAR_PER_BUFFER variables
Date: Tue, 23 Mar 2021 23:11:50 -0400

Hi emacs-devel,

These are some cleanups and tests for DEFVAR_PER_BUFFER variables.
I think they are all uncontroversial.

These are extracted from the patch series I sent some months ago
(Subject: Speeding up DEFVAR_PER_BUFFER).  Specifically, these are the
patches that were approved as fine independent of the rest of the
series.  And they have changelog entries in the commit messages now :)

These are pre-requisites for my DEFVAR_PER_BUFFER improvements (which
I'll be resending soon), so it would be nice to apply them ahead of
that.

Spencer Baugh (7):
  Add a test for let-binding unwinding
  Assert not local-variable-p after setq in let_default binding
  Stop checking the constant default for enable_multibyte_characters
  Take buffer field name in DEFVAR_PER_BUFFER
  Combine unnecessarily separate loops in buffer.c
  Assert that PER_BUFFER_IDX for Lisp variables is not 0
  Remove unnecessary Qunbound check

 src/buffer.c           | 147 ++++++++++++++++++++---------------------
 src/data.c             |   4 +-
 src/print.c            |   6 +-
 src/process.c          |  15 ++---
 test/src/data-tests.el |  23 +++++++
 5 files changed, 101 insertions(+), 94 deletions(-)

-- 
2.28.0




reply via email to

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