diff options
| author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-01-02 23:27:23 +0100 |
|---|---|---|
| committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-01-02 23:27:23 +0100 |
| commit | 9352995934adec8059077af241c35ccd1573bd80 (patch) | |
| tree | 60286e266b3b31b90b952ac37e12a1ebbcdd2eb6 /emacs/files/site-start.el | |
| parent | ef3b84d78197acbd45d73a9b1ae44b47b5904290 (diff) | |
| parent | 880bca260c4ce91554a49b2475232cf5c0ffd447 (diff) | |
| download | qipackages-fork-master.tar.gz | |
Conflicts:
links/Makefile
Diffstat (limited to 'emacs/files/site-start.el')
| -rw-r--r-- | emacs/files/site-start.el | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/emacs/files/site-start.el b/emacs/files/site-start.el new file mode 100644 index 0000000..e760ec8 --- /dev/null +++ b/emacs/files/site-start.el @@ -0,0 +1,27 @@ +;; Emacs startup file for OpenWRT Emacs package +;; +;; Copyright (C) 2010 David Kuehling <dvdkhlng TA gmx TOD de> +;; License: GPLv2 or later; NO WARRANTY. +;; + +;; load documentation for internal functions. This is skipped by loadup.el +;; 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) + +;; Do not show the menu bar. What use is it without a mouse? +;; (Note that you can still use the menu via <Esc> x menu-bar-open +;; or tmm-menubar +(menu-bar-mode 0) + +;; ugly work-around for load-history entry (require . t-mouse) added by +;; linux.el Not good, as it costs some memory. +(setq load-history + (apply 'nconc (mapcar (lambda (v) (if (stringp (car v)) (list v) nil)) + load-history))) |
