From: Chong Yidong Date: Sun, 13 Dec 2009 01:55:09 +0000 (+0000) Subject: Add commentary about how to use Semantic. X-Git-Tag: emacs-pretest-23.1.91~106 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bd7705929b6ae098ac0a6cbae7b20f6e08e0954f;p=emacs.git Add commentary about how to use Semantic. --- 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 @@ ;; ;; API for providing the semantic content of a buffer. ;; -;; The semantic API provides an interface to a series of different parser +;; The Semantic API provides an interface to a series of different parser ;; implementations. Each parser outputs a parse tree in a similar format ;; designed to handle typical functional and object oriented languages. +;; +;; To enable Semantic, turn on `semantic-mode', a global minor mode +;; (M-x semantic-mode RET, or "Source Code Parsers" from the Tools +;; menu). To enable it at startup, put (semantic-mode 1) in your init +;; file. (require 'cedet) (require 'semantic/tag)