]> git.eshelyaron.com Git - emacs.git/commit
semantic: Improve grammar-mode
authorEric Ludlam <zappo@gnu.org>
Wed, 26 Nov 2014 15:41:48 +0000 (10:41 -0500)
committerDavid Engster <deng@randomsample.de>
Mon, 23 Jan 2017 21:00:03 +0000 (22:00 +0100)
commit742013bd66934edd7d9953790986acbdab463287
tree8149056c9e7e99a84a9cad5f985a3c094aaed810
parentb893e8a66b5599f28bf358ff7bafbc0386e250e1
semantic: Improve grammar-mode

* lisp/cedet/semantic/grammar.el (semantic-grammar-create-package):
 Get the setupfcn and mode before switching to other buffers. Don't
 special eval defvar, we generate defconst now. Be more aggressive
 reparsing open buffers of the mode being updated.
 (semantic-grammar-mode-map): Don't bind M-TAB.
 (semantic-grammar-menu): Use `completion-at-point' instead of grammar
 version.
 (semantic-grammar-mode): Remove type relation character.
 (semantic-grammar-complete): Delete.
 (semantic-ctxt-current-class-list): Also support 'token' class.
 (semantic-analyze-possible-completions): Support the optional FLAGS
 that are passed in for other languages. Reverse the found prefix.
lisp/cedet/semantic/grammar.el