summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/tabulated-list.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-08-08 12:39:12 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2022-08-08 13:12:47 +0200
commit14f0ebc9ac8d2f0f272bdb1eac4dd2ea0b50a0f4 (patch)
tree78a4c03d17437d7bb691784e665db23f546dd137 /lisp/emacs-lisp/tabulated-list.el
parent60738e569d24b74b9e6973225d143b3468bfc60f (diff)
downloademacs-14f0ebc9ac8d2f0f272bdb1eac4dd2ea0b50a0f4.tar.gz
emacs-14f0ebc9ac8d2f0f272bdb1eac4dd2ea0b50a0f4.tar.bz2
emacs-14f0ebc9ac8d2f0f272bdb1eac4dd2ea0b50a0f4.zip
Turn large macros in print.c to functions
This is easier to read and maintain, and makes the state explicit. It is a pure refactoring; the compiled code should be equivalent. * src/print.c (PRINTPREPARE, PRINTFINISH): Replace with... (struct print_context, print_prepare, print_finish): ...these new functions and explicit state in a struct. (Fwrite_char, write_string, Fterpri, Fprin1, Fprin1_to_string) (Fprinc, Fprint): Adapt callers.
Diffstat (limited to 'lisp/emacs-lisp/tabulated-list.el')
0 files changed, 0 insertions, 0 deletions