(setq ring-bell-function (lambda ()))
(windmove-default-keybindings)
-(server-start)
+(require 'server)
+(if (server-running-p)
+ (message "Warning: server %S is already running." server-name)
+ (server-start))
;; Host specific configuration ------------------------------------------------
(let ((host (system-name)))
(load-file path)
(message "Warning: file %s is absent" path)))
+;; session
+(require-if-present 'session)
+
;; flyspell
(require-if-present 'flyspell)
(mapcar (lambda (mode)
(add-to-list 'ac-modes mode))
'(autoconf-mode
- erlang-mode))
+ erlang-mode
+ sql-mode))
(setq ac-modes (remove 'css-mode ac-modes))
(add-hook 'erlang-mode-hook
(lambda ()
'(rng-schema-locating-files (quote ("schemas.xml" "/sw/share/schema/schemas.xml" "~/share/nxml/schemas.xml")))
'(rst-level-face-base-light 50)
'(safe-local-variable-values (quote ((todo-categories "Todo" "Todo" "Todo" "Todo"))))
+ '(session-use-package t nil (session))
'(tramp-auto-save-directory "/tmp/tramp-auto-save")
'(tramp-completion-reread-directory-timeout 2)
'(tramp-default-host "localhost")
+ '(tramp-default-method "sshx")
'(w3m-bookmark-file-coding-system (quote utf-8))
'(w3m-coding-system (quote utf-8))
'(w3m-coding-system-priority-list (quote (utf-8)))