(add-to-list 'load-path "~/elisp/") ;; Font lock, all the time (global-font-lock-mode t) ;; Color themes (require 'color-theme) (color-theme-comidia) ;; Iswitch-buffer (iswitchb-mode 1) ;; Spaces, not tabs (setq-default indent-tabs-mode nil) ;; No annoying beep (setq ring-bell-function 'ignore) ;; Chicken Scheme (setq scheme-program-name "csi") ;; Disable random annoyances (setq inhibit-startup-message t) (defalias 'yes-or-no-p 'y-or-n-p) (setq make-backup-files nil) (setq auto-save-list-file-prefix nil) (setq auto-save-default nil) ;; Scheme-complete (autoload 'scheme-smart-complete "scheme-complete" nil t) (eval-after-load 'scheme '(progn (define-key scheme-mode-map "\t" 'scheme-complete-or-indent))) (autoload 'scheme-get-current-symbol-info "scheme-complete" nil t) (add-hook 'scheme-mode-hook (lambda () (make-local-variable 'eldoc-documentation-function) (setq eldoc-documentation-function 'scheme-get-current-symbol-info) (eldoc-mode))) ;; Don't quit by mistake (global-set-key [(control x) (control c)] (function (lambda () (interactive) (cond ((y-or-n-p "Quit Emacs? ") (save-buffers-kill-emacs)))))) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(column-number-mode t) '(scroll-bar-mode nil) '(show-paren-mode t) '(tool-bar-mode nil) '(tooltip-mode nil)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. )