chiark / gitweb /
dot/emacs: Tweak `dired' settings.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 4 Jan 2010 11:28:58 +0000 (11:28 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 4 Jan 2010 11:28:58 +0000 (11:28 +0000)
Mainly reformatting, to group the settings together.  Set `wdired' to
use advanced mode for editing permissions.

dot/emacs

index 478566bdee2507ac5151abfdc04003872d6c597f..1546c2ca4ca36c96c4ad319c6b97be2614723fa1 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
 (setq display-buffer-reuse-frames nil  ;Don't confuse me by showing buffers
       iswitchb-default-method 'samewindow) ;in other random frames
 (setq dired-deletion-confirmer         ;Make deletion easier in dired
-      (symbol-function 'y-or-n-p))
+      (symbol-function 'y-or-n-p)
+      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 dired-listing-switches "-alF")   ;Do `ls -F' things in dired windows
-(setq wdired-allow-to-change-permissions t)
 (setq case-fold-file-names nil)                ;Don't translate file names (grr...)
 (setq scroll-step 5)                   ;Don't scroll too much at a time
 (setq-default fill-column 77)          ;I use rather narrow windows