nicer check for the presence of fringe-mode

This commit is contained in:
Bozhidar Batsov 2012-02-26 20:58:56 +02:00
parent ffe16ffa92
commit 83f50fcf91

View file

@ -72,9 +72,8 @@
;; make the fringe (gutter) smaller
;; the argument is a width in pixels (the default is 8)
(condition-case nil
(fringe-mode 4)
(error nil))
(if (fboundp 'fringe-mode)
(fringe-mode 4))
;; enable y/n answers
(fset 'yes-or-no-p 'y-or-n-p)