]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix a recent change in hideshow.el
authorEli Zaretskii <eliz@gnu.org>
Sat, 17 May 2025 12:14:47 +0000 (15:14 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 21 May 2025 06:06:04 +0000 (08:06 +0200)
* lisp/progmodes/hideshow.el (hs--get-ellipsis): Don't assume
'standard-display-table' is defined.

(cherry picked from commit 6571a2d70b44135ba04baf5d3eabc83fc4c0f085)

lisp/progmodes/hideshow.el

index ac6eb3681d1c7c1401b3cc7611339eaeebc64768..5eb3a729ac513c540f352159d89fca0503d68293 100644 (file)
@@ -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))))