Browse Source

dont call undefined function

pull/1/head
10sr 12 years ago
parent
commit
9dc6c5f8e0
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      emacs.el

+ 4
- 2
emacs.el View File

@@ -131,8 +131,10 @@ Return nil if library unfound and failed to download, otherwise the path where t
) )
;; (add-to-list 'default-frame-alist '(cursor-type . box)) ;; (add-to-list 'default-frame-alist '(cursor-type . box))
(if window-system (menu-bar-mode 1) (menu-bar-mode 0)) (if window-system (menu-bar-mode 1) (menu-bar-mode 0))
(tool-bar-mode 0)
(set-scroll-bar-mode nil)
(and (fboundp 'tool-bar-mode)
(tool-bar-mode 0))
(and (fboundp 'set-scroll-bar-mode)
(set-scroll-bar-mode nil))
(add-hook 'kill-emacs-hook ; load when exitting to examine if file is written properly (add-hook 'kill-emacs-hook ; load when exitting to examine if file is written properly
(lambda () (lambda ()
(when (file-readable-p "~/.emacs") (when (file-readable-p "~/.emacs")


Loading…
Cancel
Save