define special unicode whitespace characters with the unicode code rather than the character itself

This commit is contained in:
2011-11-29 23:10:28 +00:00
parent a8332fd34a
commit dd8371c19f

View File

@@ -42,9 +42,12 @@
(global-whitespace-mode t)
;; Customize Whitespace Characters
;; - Newline: \u00AC = ¬
;; - Tab: \u25B8 = ▸
(setq whitespace-display-mappings
(quote ((newline-mark ?\n [?¬ ?\n] [?$ ?\n])
(tab-mark ?\t [? ?\t] [?\u00BB ?\t] [?\\ ?\t]))))
(quote ((newline-mark ?\n [?\u00AC ?\n] [?$ ?\n])
(tab-mark ?\t [?\u25B8 ?\t] [?\u00BB ?\t] [?\\ ?\t]))))
(setq whitespace-style
(quote (face tabs trailing space-before-tab newline
indentation space-after-tab tab-mark newline-mark