emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/xelb 85e407448e 4/6: Switch back to the Emacs 28 pretty


From: ELPA Syncer
Subject: [elpa] externals/xelb 85e407448e 4/6: Switch back to the Emacs 28 pretty-printer function
Date: Thu, 18 Jan 2024 12:59:14 -0500 (EST)

branch: externals/xelb
commit 85e407448e4e73f420335df96313cbd6c9c2431c
Author: Steven Allen <steven@stebalien.com>
Commit: Steven Allen <steven@stebalien.com>

    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 7873d120f3..476e33ec31 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)



reply via email to

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