Catch void-function error if fringe-mode undefined (non-window build)

This commit is contained in:
Perry Kundert 2012-02-25 17:42:59 -07:00
parent fbf59d53e7
commit 21b835d755

View file

@ -72,7 +72,9 @@
;; make the fringe (gutter) smaller ;; make the fringe (gutter) smaller
;; the argument is a width in pixels (the default is 8) ;; 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 ;; enable y/n answers
(fset 'yes-or-no-p 'y-or-n-p) (fset 'yes-or-no-p 'y-or-n-p)