dot/shell-rc: Track rename of `$MDW_BUILDENV' to `$CROSS_BUILDENV'.
[profile] / dot / emacs
index 79220bd..7378f0c 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
 
 (and (or window-system (mdw-emacs-version-p 23))
      (not mdw-fast-startup)
+     (not (and (fboundp 'daemonp) (daemonp)))
      (progn (setq server-temp-file-regexp (concat "^" tmpdir "\\|/draft$")
                  edit-server-new-frame nil
                  gnuserv-frame t)
       eshell-cmpl-cycle-completions nil)
 (setq dired-deletion-confirmer         ;Make deletion easier in dired
       (symbol-function 'y-or-n-p)
-      delete-by-moving-to-trash t
+      delete-by-moving-to-trash (mdw-emacs-version-p 24)
       dired-listing-switches "-alF"    ;Do `ls -F' things in dired windows
       wdired-allow-to-change-permissions 'advanced)
 (setq read-quoted-char-radix 16)       ;C-q HEX-STUFF [RET]
 (setq frame-background-mode (if mdw-black-background 'dark 'light)
       frame-inhibit-implied-resize t
       default-frame-alist
-      `((width . ,(+ mdw-column-width
-                    (cond ((<= emacs-major-version 20) 1)
-                          ((= emacs-major-version 26) 3)
-                          (t 0))))
+      `((width . ,(+ mdw-column-width mdw-frame-width-fudge))
        (height . 33)
        (vertical-scroll-bars . right)
        (cursor-type . bar)