Emacs: Use lisp subfolder

master
Pierre Neidhardt 2014-11-25 08:44:22 +01:00
parent a4c5a658ba
commit 54aa107b95
32 changed files with 1 additions and 25 deletions

View File

@ -27,7 +27,7 @@ Example: to assign some-function to C-i, use
(make-directory emacs-cache-folder t))
;; Load config easily.
(add-to-list 'load-path "~/.emacs.d")
(add-to-list 'load-path "~/.emacs.d/lisp")
;; Local plugin folder for quick install. All files in this folder will be
;; accessible to Emacs config. This is done to separate the versioned config

View File

@ -1,24 +0,0 @@
;; Temp fix:
;; http://blog.gmane.org/gmane.emacs.cc-mode.general
;; (message "@@@ LOADED")
;; (defmacro c-with-all-but-one-cpps-commented-out (beg end &rest forms)
;; ;; Execute FORMS... whilst the syntactic effect of all characters in
;; ;; every CPP region APART FROM THE ONE BETWEEN BEG and END is
;; ;; suppressed.
;; (message "@@@ C FIX")
;; `(unwind-protect
;; (c-save-buffer-state ()
;; (save-restriction
;; (widen)
;; (c-clear-cpp-delimiters ,beg ,end))
;; ,`(c-with-cpps-commented-out ,@forms))
;; (c-save-buffer-state ()
;; (save-restriction
;; (widen)
;; (c-set-cpp-delimiters ,beg ,end)))))
;; Org Mode
(eval-after-load "org"
'(progn
(add-to-list
'org-agenda-files "~/projects/kth-ta/agenda.org")))