X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/c5376a5b50ceb092c453980a27d47c035aa96489..f64c5a1a842e1998e814bfa931f21a376e905485:/dot/emacs diff --git a/dot/emacs b/dot/emacs index 4fb237a..2ab16ad 100644 --- a/dot/emacs +++ b/dot/emacs @@ -97,6 +97,9 @@ (require 'paren) (trap (show-paren-mode t)) (or window-system (mdw-emacs-version-p 22) (menu-bar-mode -1)) +(setq x-select-enable-clipboard nil + x-select-enable-primary t + mouse-drag-copy-region t) ;; Multiple cursors. @@ -134,6 +137,11 @@ (and edit (set-process-query-on-exit-flag edit nil))))))) +;; Saving state. + +(or mdw-fast-startup (savehist-mode 1)) +(setq history-length 200) + ;; Control backup behaviour. (setq backup-by-copying nil)