Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* 'master' of https://github.com/bbatsov/prelude:
  Reflect flx upstream variable name fix.
  autosave undo history
  Auto install protobuf-mode
  • Loading branch information
Caleb Epstein committed Jan 7, 2015
1 parent 7224d35 commit 9cb1336
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -637,11 +637,11 @@ Prelude swaps the default `ido` flex matching with the more powerful

The sorting algorithm `flx` uses is more complex, but yields better results.

On slower machines, it may be necessary to lower `flx-ido-threshhold` to
On slower machines, it may be necessary to lower `flx-ido-threshold` to
ensure a smooth experience.

```lisp
(setq flx-ido-threshhold 1000)
(setq flx-ido-threshold 1000)
```

You can always disable the improved sorting algorithm all together like this:
Expand Down
5 changes: 5 additions & 0 deletions core/prelude-editor.el
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@
(setq auto-save-file-name-transforms
`((".*" ,temporary-file-directory t)))

;; autosave the undo-tree history
(setq undo-tree-history-directory-alist
`((".*" . ,temporary-file-directory)))
(setq undo-tree-auto-save-history t)

;; revert buffers automatically when underlying files are changed externally
(global-auto-revert-mode t)

Expand Down
1 change: 1 addition & 0 deletions core/prelude-packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ PACKAGE is installed only if not already present. The file is opened in MODE."
("\\.ml\\'" tuareg tuareg-mode)
("\\.pp\\'" puppet-mode puppet-mode)
("\\.php\\'" php-mode php-mode)
("\\.proto\\'" protobuf-mode protobuf-mode)
("PKGBUILD\\'" pkgbuild-mode pkgbuild-mode)
("\\.rs\\'" rust-mode rust-mode)
("\\.sass\\'" sass-mode sass-mode)
Expand Down

0 comments on commit 9cb1336

Please sign in to comment.