Created
January 26, 2012 22:55
-
-
Save robertzx/1685652 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; There is a global file (~/.emacs.d/eproject.lst) | |
(defun prj-globalfile () | |
(expand-file-name "eproject.lst" | |
(if (boundp 'user-emacs-directory) user-emacs-directory | |
"~/.emacs.d/") | |
)) | |
;; with the list of all projects | |
(defvar prj-list) | |
;; and the project that was open in the last session (if any) | |
(defvar prj-last-open nil) | |
;; and the frame coords from last session | |
(defvar prj-frame-pos nil) | |
;; eproject version that created the config file | |
(defvar prj-version nil) | |
;; Here is a function to reset these | |
(defun prj-init () | |
(setq prj-version nil) | |
(setq prj-list nil) | |
(setq prj-last-open nil) | |
(setq prj-frame-pos nil) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment