Mercurial > hg > config
comparison .emacs @ 337:4d5d5097686f
first commit
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 19 Jun 2013 10:46:01 -0700 |
parents | a9d3f1210506 |
children | c0f0f82f68ea |
comparison
equal
deleted
inserted
replaced
336:b27ea86a9c9e | 337:4d5d5097686f |
---|---|
1 ;; emacs server (what a piece of crap) | 1 ;; ;; ;; emacs server (what a piece of crap) |
2 (require 'server) | 2 ;; (require 'server) |
3 (or (server-running-p) | 3 ;; (unless (server-running-p) |
4 (server-start)) | 4 ;; (server-start)) |
5 ;; ;; ;; An error has occurred while loading `/home/jhammel/.emacs': | |
6 ;; ;; ;; Symbol's function definition is void: server-running-p | |
7 ;; ;; ;; To ensure normal operation, you should investigate and remove the | |
8 ;; ;; ;; cause of the error in your initialization file. Start Emacs with | |
9 ;; ;; ;; the `--debug-init' option to view a complete error backtrace. | |
10 | |
11 ;; ;; ;; For information about GNU Emacs and the GNU system, type C-h C-a. | |
12 ;; ;; How to fix: | |
13 ;; http://stackoverflow.com/questions/9999320/how-to-check-if-a-function-e-g-server-running-p-is-available-under-emacs | |
5 | 14 |
6 ;;;; bars | 15 ;;;; bars |
7 | 16 |
8 ;; Turn off the status bar and on the mouse if we're not in a window system | 17 ;; Turn off the status bar and on the mouse if we're not in a window system |
9 (menu-bar-mode (if window-system 1 -1)) | 18 (menu-bar-mode (if window-system 1 -1)) |