rougier / elegant-emacs

A very minimal but elegant emacs (I think)
GNU General Public License v3.0
1.36k stars 79 forks source link

Glyphs for truncated and wrapped lines not working in Org mode. #8

Closed pjhuxford closed 4 years ago

pjhuxford commented 4 years ago

The line (setq org-ellipsis " …") in elegance.el overwrites the custom glyphs for truncated and wrapped lines defined later in the file, but only in Org mode.

One fix I have found is to replace this line with

(set-display-table-slot standard-display-table 'selective-display
                        (string-to-vector " …"))

This should also change the corresponding ellipsis in Outline mode.

rougier commented 4 years ago

Oh nice. I noticed the problem but did not know how to fix it ! Can you make a PR?

pjhuxford commented 4 years ago

Done!

rougier commented 4 years ago

and merged. Thanks.