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 revisionBoth sides next revision
emacs:emacs [2015/09/12 20:16] – [Use SmartTabs] devaemacs:emacs [2015/09/12 20:17] deva
Line 1: Line 1:
 ======Emacs====== ======Emacs======
 +
 +=====Set up custom lisp path=====
 +<code lisp>
 +(add-to-list 'load-path "~/.emacs.d/lisp/")
 +</code>
  
 =====Show trailing whitespace===== =====Show trailing whitespace=====
Line 21: Line 26:
 Add the following lines to the ''.emacs'' file: Add the following lines to the ''.emacs'' file:
 <code lisp> <code lisp>
-(add-to-list 'load-path "~/.emacs.d/lisp/"+(require 'smart-tabs-mode)
-((require 'smart-tabs-mode)+
  
 (autoload 'smart-tabs-mode "Intelligently indent with tabs, align with spaces!") (autoload 'smart-tabs-mode "Intelligently indent with tabs, align with spaces!")
Line 62: Line 66:
  '(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