From 73f3a07d86aaa72670b5bded844fab36399e1799 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Fri, 17 Dec 2010 18:00:14 +0100 Subject: [PATCH] make Emacs' dired work --- emacs/files/site-start.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs/files/site-start.el b/emacs/files/site-start.el index 7d59ca6..7c39d18 100644 --- a/emacs/files/site-start.el +++ b/emacs/files/site-start.el @@ -7,6 +7,10 @@ ;; when not dumping so we do it here. (Snarf-documentation "DOC") +;; On openwrt 'ls' is provided by busybox. That version of 'ls' does not +;; support the --dired option, make Emacs work around that. +(setq dired-use-ls-dired nil) + ;; Allow us to output international characters to the terminal (set-terminal-coding-system 'utf-8) @@ -14,3 +18,4 @@ ;; (Note that you can still use the menu via x menu-bar-open ;; or tmm-menubar (menu-bar-mode 0) +