X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/ed5e20a5246bc228ede6b5951c34f8e89a8446d7..47539e6a01eaa5ef266480ead4229e387bfa257f:/dot/emacs?ds=sidebyside diff --git a/dot/emacs b/dot/emacs index ab9a94f..c53cdaa 100644 --- a/dot/emacs +++ b/dot/emacs @@ -94,8 +94,15 @@ (and (or window-system (>= emacs-major-version 23)) (progn (setq server-temp-file-regexp (concat "^" tmpdir "\\|/draft$") + edit-server-new-frame nil gnuserv-frame t) - (trap (server-start)))) + (trap (server-start)) + (trap (progn + (require 'edit-server) + (edit-server-start) + (let ((edit (get-process "edit-server"))) + (and edit + (set-process-query-on-exit-flag edit nil))))))) ;; Control backup behaviour. @@ -230,7 +237,7 @@ (setq password-cache-expiry nil) (setq-default proced-filter 'all proced-sort 'user) -(setq ispell-program-name "aspell" +(setq ispell-program-name "aspell-hack" ispell-local-dictionary "en_GB-ize-w_accents" flyspell-default-dictionary "en_GB-ize-w_accents" ispell-silently-savep t)