I currently have the hook below for displaying tabs when in text mode:
(add-hook 'text-mode-hook
(lambda () (standard-display-ascii ?\t "!---")))
I only want that setting to apply in text mode.
The problem: Once I open a text file, the above setting will be set for all subsequent buffers that I open. That is not the desired outcome. How can I apply a setting to only one mode?
buffer-display-table
, here is a link to an example that plays with smiley faces, em-dash and en-dash. emacs.stackexchange.com/a/9627/2287 – lawlist Aug 6 '19 at 2:27