# HG changeset patch # User Jeff Hammel # Date 1513980615 28800 # Node ID 1c3f6daa11904816043da0226bcd4864f1ba803a # Parent 8e41e95aac97dae3887b37801843f293208b17ef require package diff -r 8e41e95aac97 -r 1c3f6daa1190 .emacs --- a/.emacs Sun Dec 17 12:48:43 2017 -0800 +++ b/.emacs Fri Dec 22 14:10:15 2017 -0800 @@ -1,3 +1,15 @@ +(require 'package) +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(package-archives + (quote + (("gnu" . "http://elpa.gnu.org/packages/") + ("melpa-stable" . "http://stable.melpa.org/packages/"))))) +(package-initialize) + (setq max-specpdl-size 5000) (setq initial-scratch-message ";; scratch ;; @@ -10,20 +22,6 @@ ;; frames: http://www.emacswiki.org/emacs/GnuClient#toc6 (setq gnuserv-frame (selected-frame)) -;; ;; ;; emacs server (what a piece of crap) -;; (require 'server) -;; (unless (server-running-p) -;; (server-start)) -;; ;; ;; An error has occurred while loading `/home/jhammel/.emacs': -;; ;; ;; Symbol's function definition is void: server-running-p -;; ;; ;; To ensure normal operation, you should investigate and remove the -;; ;; ;; cause of the error in your initialization file. Start Emacs with -;; ;; ;; the `--debug-init' option to view a complete error backtrace. - -;; ;; ;; For information about GNU Emacs and the GNU system, type C-h C-a. -;; ;; How to fix: -;; http://stackoverflow.com/questions/9999320/how-to-check-if-a-function-e-g-server-running-p-is-available-under-emacs - ;;;; bars ;; Turn off the status bar and on the mouse if we're not in a window system