Skip to content

Instantly share code, notes, and snippets.

@ilmari
Created June 19, 2016 13:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ilmari/96755c0612e681d28045880795a3d56a to your computer and use it in GitHub Desktop.
Save ilmari/96755c0612e681d28045880795a3d56a to your computer and use it in GitHub Desktop.
(defface nbsp-space
'((t (:foreground "green" :bold t)))
"Used for displaying the nbsp character")
(if standard-display-table
()
(setq standard-display-table (make-display-table)))
(aset standard-display-table
(make-char 'latin-iso8859-1 (- ?\240 128))
(vector (+ ?\267 (* 524288 (face-id 'nbsp-space)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment