nicer check for the presence of fringe-mode
This commit is contained in:
parent
ffe16ffa92
commit
83f50fcf91
1 changed files with 2 additions and 3 deletions
|
@ -72,9 +72,8 @@
|
||||||
|
|
||||||
;; 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)
|
||||||
(condition-case nil
|
(if (fboundp 'fringe-mode)
|
||||||
(fringe-mode 4)
|
(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)
|
||||||
|
|
Loading…
Reference in a new issue