1

I've seen snippets like this:

(set-display-table-slot standard-display-table 'vertical-border (make-glyph-code ?┃))

That claim to make emacs use a prettier window divider character. However, standard-display-table is nil in a emacs24.4 -Q. How can I fix this?

2 Answers 2

4

The docs of standard-display-table refer to buffer-display-table which mentions that you can create display tables with make-display-table if necessary.

This means the following should work:

(let ((display-table (or standard-display-table (make-display-table))))
  (set-display-table-slot display-table 'vertical-border (make-glyph-code ?┃))
  (setq standard-display-table display-table))
1
  • Thanks. I though something like this existed, I just couldn't find it.
    – PythonNut
    Commented Jan 10, 2015 at 18:38
0

You do not need to fiddle with a display table. Just customize face window-divider: M-x customize-face window-divider.

I use a Blue foreground attribute, for example. Here is a screenshot, with scroll bars turned off:

enter image description here

Oops. I see now that you are interested in TTY, not graphics. In that case, you can try customizing face vertical-border, giving it, for example, a width attribute value of narrow. Here is a screenshot of that:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.