1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-27 02:01:54 +02:00
openwrt-packages/emacs/files/site-start.el

28 lines
972 B
EmacsLisp
Raw Normal View History

;; Emacs startup file for OpenWRT Emacs package
;;
;; Copyright (C) 2010 David Kuehling <dvdkhlng TA gmx TOD de>
2010-12-19 12:09:26 +02:00
;; 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")
2010-12-17 19:00:14 +02:00
;; 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)
2010-12-14 10:10:50 +02:00
;; 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)
2010-12-17 19:00:14 +02:00
;; 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)))