diff options
| author | jason | 2017-06-22 15:56:34 -0600 |
|---|---|---|
| committer | jason | 2017-06-22 15:56:34 -0600 |
| commit | 24bb8323fab61e008186fe6a138bd66b32997cc4 (patch) | |
| tree | 15762041e10b58b9622081a1273b3e5234ca554f | |
| parent | fc88f9781a415e163874b503ed61711d4b7be0be (diff) | |
| download | dotemacs-24bb8323fab61e008186fe6a138bd66b32997cc4.tar.gz dotemacs-24bb8323fab61e008186fe6a138bd66b32997cc4.zip | |
Fix a typo with the write-file-hook
| -rw-r--r-- | config.org | 7 |
1 files changed, 4 insertions, 3 deletions
| @@ -67,11 +67,12 @@ pasting, etc. This mimics the behavior of other editors. | |||
| 67 | Trim trailing whitespace in my all of my files. If it turns out there is a | 67 | Trim trailing whitespace in my all of my files. If it turns out there is a |
| 68 | filetype that should include trailing whitespace I will whitelist it. | 68 | filetype that should include trailing whitespace I will whitelist it. |
| 69 | 69 | ||
| 70 | #+BEGIN_SRC emacs-list | 70 | #+BEGIN_SRC emacs-lisp |
| 71 | (add-hook 'write-file-hooks | 71 | (add-hook 'write-file-hooks |
| 72 | '(lambda () | 72 | '(lambda () |
| 73 | (delete-trailing-whitespace))) | 73 | (delete-trailing-whitespace))) |
| 74 | #+END_SRC | 74 | #+END_SRC |
| 75 | |||
| 75 | *** Look and Feel | 76 | *** Look and Feel |
| 76 | #+BEGIN_SRC emacs-lisp | 77 | #+BEGIN_SRC emacs-lisp |
| 77 | ;; Hide the toolbar | 78 | ;; Hide the toolbar |
| @@ -289,7 +290,7 @@ Styles source code blocks when exporting an org file to HTML | |||
| 289 | ("M-x" . counsel-M-x) | 290 | ("M-x" . counsel-M-x) |
| 290 | ("C-x C-f" . counsel-find-file)) | 291 | ("C-x C-f" . counsel-find-file)) |
| 291 | :init | 292 | :init |
| 292 | (setq | 293 | (setq |
| 293 | ;; Remove the ^ prefix | 294 | ;; Remove the ^ prefix |
| 294 | ivy-initial-inputs-alist nil | 295 | ivy-initial-inputs-alist nil |
| 295 | ;; Display recently opened files when switching buffers | 296 | ;; Display recently opened files when switching buffers |
| @@ -302,7 +303,7 @@ Styles source code blocks when exporting an org file to HTML | |||
| 302 | (ivy-mode 1)) | 303 | (ivy-mode 1)) |
| 303 | #+END_SRC | 304 | #+END_SRC |
| 304 | ** persp-mode | 305 | ** persp-mode |
| 305 | [[https://github.com/Bad-ptr/persp-mode.el][persp-mode]] enables "workspaces" within Emacs. This is similar to how a window | 306 | [[https://github.com/Bad-ptr/persp-mode.el][persp-mode]] enables "workspaces" within Emacs. This is similar to how a window |
| 306 | manager might have several desktops | 307 | manager might have several desktops |
| 307 | 308 | ||
| 308 | #+BEGIN_SRC emacs-lisp | 309 | #+BEGIN_SRC emacs-lisp |