diff options
| author | Chong Yidong | 2009-12-13 01:55:09 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-12-13 01:55:09 +0000 |
| commit | bd7705929b6ae098ac0a6cbae7b20f6e08e0954f (patch) | |
| tree | 26f0dee4f0149c022aa2022c5efd45b2f85b5ad8 | |
| parent | 70e013b4acc2ddba97ab079e646cbb32fd5ead4a (diff) | |
| download | emacs-bd7705929b6ae098ac0a6cbae7b20f6e08e0954f.tar.gz emacs-bd7705929b6ae098ac0a6cbae7b20f6e08e0954f.zip | |
Add commentary about how to use Semantic.
| -rw-r--r-- | lisp/cedet/semantic.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/cedet/semantic.el b/lisp/cedet/semantic.el index 446d1e0a3e6..7e3673e6adb 100644 --- a/lisp/cedet/semantic.el +++ b/lisp/cedet/semantic.el | |||
| @@ -25,9 +25,14 @@ | |||
| 25 | ;; | 25 | ;; |
| 26 | ;; API for providing the semantic content of a buffer. | 26 | ;; API for providing the semantic content of a buffer. |
| 27 | ;; | 27 | ;; |
| 28 | ;; The semantic API provides an interface to a series of different parser | 28 | ;; The Semantic API provides an interface to a series of different parser |
| 29 | ;; implementations. Each parser outputs a parse tree in a similar format | 29 | ;; implementations. Each parser outputs a parse tree in a similar format |
| 30 | ;; designed to handle typical functional and object oriented languages. | 30 | ;; designed to handle typical functional and object oriented languages. |
| 31 | ;; | ||
| 32 | ;; To enable Semantic, turn on `semantic-mode', a global minor mode | ||
| 33 | ;; (M-x semantic-mode RET, or "Source Code Parsers" from the Tools | ||
| 34 | ;; menu). To enable it at startup, put (semantic-mode 1) in your init | ||
| 35 | ;; file. | ||
| 31 | 36 | ||
| 32 | (require 'cedet) | 37 | (require 'cedet) |
| 33 | (require 'semantic/tag) | 38 | (require 'semantic/tag) |