diff options
Diffstat (limited to 'lisp/cedet/ede/emacs.el')
-rw-r--r-- | lisp/cedet/ede/emacs.el | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lisp/cedet/ede/emacs.el b/lisp/cedet/ede/emacs.el index 45cbce27409..7038a78f892 100644 --- a/lisp/cedet/ede/emacs.el +++ b/lisp/cedet/ede/emacs.el @@ -133,6 +133,18 @@ ROOTPROJ is nil, since there is only one project." ) ) +;;;###autoload +(add-to-list 'ede-project-class-files + (ede-project-autoload "emacs" + :name "EMACS ROOT" + :file 'ede-emacs + :proj-file "src/emacs.c" + :proj-root 'ede-emacs-project-root + :load-type 'ede-emacs-load + :class-sym 'ede-emacs-project + :new-p nil) + t) + (defclass ede-emacs-target-c (ede-target) () "EDE Emacs Project target for C code. @@ -150,7 +162,7 @@ All directories need at least one target.") (defmethod initialize-instance ((this ede-emacs-project) &rest fields) - "Make sure the :file is fully expanded." + "Make sure the targets slot is bound." (call-next-method) (unless (slot-boundp this 'targets) (oset this :targets nil))) |