OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
1 | ;; Emacs startup file for OpenWRT Emacs package |
2 | ;; |
3 | ;; Copyright (C) 2010 David Kuehling <dvdkhlng TA gmx TOD de> |
4 | ;; License: GPLv2 or later; NO WARRANTY. |
5 | ;; |
6 | |
7 | ;; load documentation for internal functions. This is skipped by loadup.el |
8 | ;; when not dumping so we do it here. |
9 | (Snarf-documentation "DOC") |
10 | |
11 | ;; On openwrt 'ls' is provided by busybox. That version of 'ls' does not |
12 | ;; support the --dired option, make Emacs work around that. |
13 | (setq dired-use-ls-dired nil) |
14 | |
15 | ;; Allow us to output international characters to the terminal |
16 | (set-terminal-coding-system 'utf-8) |
17 | |
18 | ;; Do not show the menu bar. What use is it without a mouse? |
19 | ;; (Note that you can still use the menu via <Esc> x menu-bar-open |
20 | ;; or tmm-menubar |
21 | (menu-bar-mode 0) |
22 | |
23 | ;; For some reason emacs 23.2 does not come with colored comments by default |
24 | ;; we fix this here (todo: chose a better color?) |
25 | (set-face-foreground 'font-lock-comment-face "blue") |
26 | |
27 | ;; f11/f12 are the volume keys on Ben NonoNote. Use them as a replacement for |
28 | ;; PgUp/PgDown |
29 | (global-set-key [f11] 'scroll-down) |
30 | (global-set-key [f12] 'scroll-up) |
31 |