From ab086a24e50b6826f83443f65869fdd30565eefe Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 17 May 2025 15:14:47 +0300 Subject: [PATCH] ; Fix a recent change in hideshow.el * lisp/progmodes/hideshow.el (hs--get-ellipsis): Don't assume 'standard-display-table' is defined. (cherry picked from commit 6571a2d70b44135ba04baf5d3eabc83fc4c0f085) --- lisp/progmodes/hideshow.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el index ac6eb3681d1..5eb3a729ac5 100644 --- a/lisp/progmodes/hideshow.el +++ b/lisp/progmodes/hideshow.el @@ -566,6 +566,8 @@ to call with the newly initialized overlay." This returns the ellipsis string to use and its face." (cond* ((bind* + (standard-display-table (or standard-display-table + (make-display-table))) (d-t-ellipsis (display-table-slot standard-display-table 'selective-display)) (d-t-face ; Get only the first glyph face (if d-t-ellipsis (glyph-face (aref d-t-ellipsis 0)))) -- 2.39.5