Browse Source

Fix config of tab-mark

pull/15/head
10sr 8 years ago
parent
commit
46df652b0d
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      emacs.el

+ 3
- 2
emacs.el View File

@@ -618,8 +618,9 @@ found, otherwise returns nil."
)) ))


(when (safe-require-or-eval 'whitespace) (when (safe-require-or-eval 'whitespace)
(add-to-list 'whitespace-display-mappings ; not work
`(tab-mark ?\t ,(vconcat "^I\t")))
(add-to-list 'whitespace-display-mappings
;; We need t since last one takes precedence
`(tab-mark ?\t ,(vconcat "^I\t")) t)
;; (add-to-list 'whitespace-display-mappings ;; (add-to-list 'whitespace-display-mappings
;; `(newline-mark ?\n ,(vconcat "$\n"))) ;; `(newline-mark ?\n ,(vconcat "$\n")))
(setq whitespace-style '(face (setq whitespace-style '(face


Loading…
Cancel
Save