From 21b835d7557433ad54c85e4a02ccae64844eb93f Mon Sep 17 00:00:00 2001 From: Perry Kundert Date: Sat, 25 Feb 2012 17:42:59 -0700 Subject: [PATCH 1/2] Catch void-function error if fringe-mode undefined (non-window build) --- modules/prelude-ui.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/prelude-ui.el b/modules/prelude-ui.el index 896e28d..6c553ee 100644 --- a/modules/prelude-ui.el +++ b/modules/prelude-ui.el @@ -72,7 +72,9 @@ ;; make the fringe (gutter) smaller ;; the argument is a width in pixels (the default is 8) -(fringe-mode 4) +(condition-case nil + (fringe-mode 4) + (error nil)) ;; enable y/n answers (fset 'yes-or-no-p 'y-or-n-p) From 1bede25424da92f9318cbd0735e22fe1f39a97e8 Mon Sep 17 00:00:00 2001 From: Perry Kundert Date: Sun, 26 Feb 2012 07:37:09 -0700 Subject: [PATCH 2/2] Add required snippets director for yas --- snippets/.gitkeep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 snippets/.gitkeep diff --git a/snippets/.gitkeep b/snippets/.gitkeep new file mode 100644 index 0000000..e69de29