User Tools

Site Tools


emacs:emacs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
emacs:emacs [2015/09/12 20:17] devaemacs:emacs [2015/09/12 20:21] – [Show whitespace] deva
Line 10: Line 10:
 <code lisp> <code lisp>
 (custom-set-variables (custom-set-variables
- '(show-trailing-whitespace t))+ '(show-trailing-whitespace t) 
 +)
 </code> </code>
  
Line 55: Line 56:
 Use sane colors: Use sane colors:
 <code lisp> <code lisp>
-(set-face-attribute 'whitespace-space nil :background nil :foreground "LightBlue1") +(set-face-attribute 'whitespace-space nil :background nil :foreground "LightCyan2") 
-(set-face-attribute 'whitespace-space-after-tab nil :background nil :foreground "LightBlue1") +(set-face-attribute 'whitespace-space-after-tab nil :background nil :foreground "LightCyan2") 
-(set-face-attribute 'whitespace-tab nil :background nil :foreground "LightBlue1")+(set-face-attribute 'whitespace-tab nil :background nil :foreground "LightCyan2")
 (set-face-attribute 'whitespace-line nil :foreground nil :background nil :weight 'bold) (set-face-attribute 'whitespace-line nil :foreground nil :background nil :weight 'bold)
 </code> </code>
Line 64: Line 65:
 <code lisp> <code lisp>
 (custom-set-variables (custom-set-variables
- '(whitespace-style (quote (face tabs spaces trailing lines space-before-tab indentation empty space-after-tab space-mark tab-mark)))+ '(whitespace-style (quote (face tabs spaces trailing lines space-before-tab indentation empty space-after-tab space-mark tab-mark)) 
 +)
 </code> </code>
emacs/emacs.txt · Last modified: 2015/09/12 20:24 by deva