Catch void-function error if fringe-mode undefined (non-window build)
This commit is contained in:
parent
fbf59d53e7
commit
21b835d755
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue