diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-09-03 21:54:58 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-09-03 22:46:11 -0700 |
commit | 97cfda2638afc7fed6ac7e465c6fe927f428a932 (patch) | |
tree | ab634688fc29cfd75b013ae274b70c80cd426eea /lisp/emacs-lisp | |
parent | 9117a667908064a0b4ae6ec6c8f3674d95ad6225 (diff) | |
download | emacs-97cfda2638afc7fed6ac7e465c6fe927f428a932.tar.gz emacs-97cfda2638afc7fed6ac7e465c6fe927f428a932.tar.bz2 emacs-97cfda2638afc7fed6ac7e465c6fe927f428a932.zip |
Take last_per_buffer_idx private
This will simplify future changes. Turn the runtime check
into an eassert, since it’s not needed in production.
* src/buffer.c (last_per_buffer_idx): Now static.
(valid_per_buffer_idx): New function.
* src/buffer.h (PER_BUFFER_VALUE_P, SET_PER_BUFFER_VALUE_P): Use it.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions