From: Eli Zaretskii Date: Sat, 17 May 2025 12:14:47 +0000 (+0300) Subject: ; Fix a recent change in hideshow.el X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ab086a24e50b6826f83443f65869fdd30565eefe;p=emacs.git ; 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) --- 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))))