Skip to content

Commit

Permalink
Switch back to the Emacs 28 pretty-printer function
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Stebalien committed Jan 17, 2024
1 parent 8a00bf4 commit 13bd8ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xelb-gen
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 13bd8ba

Please sign in to comment.