From 13bd8ba6b8f3729a044b3fb4b71f285e8edb7607 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Sat, 13 Jan 2024 20:24:27 -0800 Subject: [PATCH] Switch back to the Emacs 28 pretty-printer function If we're running Emacs 29+, use the pretty-printer function from Emacs 28 for consistency. We can remove this once we can guarantee that all development will happen on Emacs 29+. * el_client.el (xelb-parse): Force emacs-28-style pretty printing. --- xelb-gen | 1 + 1 file changed, 1 insertion(+) diff --git a/xelb-gen b/xelb-gen index 7873d12..476e33e 100755 --- a/xelb-gen +++ b/xelb-gen @@ -179,6 +179,7 @@ an `xelb-auto-padding' attribute." (defun xelb-parse (file) "Parse an XCB protocol description file FILE (XML)." (let ((pp-escape-newlines nil) ;do not escape newlines + (pp-default-function 'pp-28) ;avoid unecessary churn result header) (with-temp-buffer (insert-file-contents file)