diff options
| author | Glenn Morris | 2009-10-01 04:10:10 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-10-01 04:10:10 +0000 |
| commit | a785b776a75832734952ddba204a7b89f3fa8462 (patch) | |
| tree | 21826e2a2cc84ee5ad3ce3902b298365f6244ee3 /lisp/cedet/ede/cpp-root.el | |
| parent | 0b253b125133b0ef647c7172721d7241a2f05abc (diff) | |
| download | emacs-a785b776a75832734952ddba204a7b89f3fa8462.tar.gz emacs-a785b776a75832734952ddba204a7b89f3fa8462.zip | |
Doc/message fixes.
Diffstat (limited to 'lisp/cedet/ede/cpp-root.el')
| -rw-r--r-- | lisp/cedet/ede/cpp-root.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/cedet/ede/cpp-root.el b/lisp/cedet/ede/cpp-root.el index a922cc15782..d2d792e5df5 100644 --- a/lisp/cedet/ede/cpp-root.el +++ b/lisp/cedet/ede/cpp-root.el | |||
| @@ -30,7 +30,7 @@ | |||
| 30 | ;; | 30 | ;; |
| 31 | ;; The cpp-root project type will allow you to create a single object | 31 | ;; The cpp-root project type will allow you to create a single object |
| 32 | ;; with no save-file in your .emacs file that will be recognized, and | 32 | ;; with no save-file in your .emacs file that will be recognized, and |
| 33 | ;; provide a way to easilly allow EDE to provide Semantic with the | 33 | ;; provide a way to easily allow EDE to provide Semantic with the |
| 34 | ;; ability to find header files, and other various source files | 34 | ;; ability to find header files, and other various source files |
| 35 | ;; quickly. | 35 | ;; quickly. |
| 36 | ;; | 36 | ;; |
| @@ -42,7 +42,7 @@ | |||
| 42 | ;; | 42 | ;; |
| 43 | ;;; EXAMPLE | 43 | ;;; EXAMPLE |
| 44 | ;; | 44 | ;; |
| 45 | ;; Add this to your .emacs file, modifying apropriate bits as needed. | 45 | ;; Add this to your .emacs file, modifying appropriate bits as needed. |
| 46 | ;; | 46 | ;; |
| 47 | ;; (ede-cpp-root-project "SOMENAME" :file "/dir/to/some/file") | 47 | ;; (ede-cpp-root-project "SOMENAME" :file "/dir/to/some/file") |
| 48 | ;; | 48 | ;; |
| @@ -109,7 +109,7 @@ | |||
| 109 | ;; `ede-project-class-files' list, and also provide two functions to | 109 | ;; `ede-project-class-files' list, and also provide two functions to |
| 110 | ;; teach EDE how to load your project pattern | 110 | ;; teach EDE how to load your project pattern |
| 111 | ;; | 111 | ;; |
| 112 | ;; It would oook like this: | 112 | ;; It would look like this: |
| 113 | ;; | 113 | ;; |
| 114 | ;; (defun MY-FILE-FOR-DIR (&optional dir) | 114 | ;; (defun MY-FILE-FOR-DIR (&optional dir) |
| 115 | ;; "Return a full file name to the project file stored in DIR." | 115 | ;; "Return a full file name to the project file stored in DIR." |
| @@ -349,7 +349,7 @@ Each directory needs a a project file to control it.") | |||
| 349 | (when (or (not (file-exists-p f)) | 349 | (when (or (not (file-exists-p f)) |
| 350 | (file-directory-p f)) | 350 | (file-directory-p f)) |
| 351 | (delete-instance this) | 351 | (delete-instance this) |
| 352 | (error ":file for ede-cpp-root must be a file.")) | 352 | (error ":file for ede-cpp-root must be a file")) |
| 353 | (oset this :file f) | 353 | (oset this :file f) |
| 354 | (oset this :directory (file-name-directory f)) | 354 | (oset this :directory (file-name-directory f)) |
| 355 | (ede-project-directory-remove-hash (file-name-directory f)) | 355 | (ede-project-directory-remove-hash (file-name-directory f)) |