Mercurial > emacs
view .bzrignore @ 108797:d674108e8753
Provide hooks to use a different tokenizer in SMIE.
* lisp/emacs-lisp/smie.el (smie-forward-token-function)
(smie-backward-token-function): New vars.
(smie-backward-sexp, smie-forward-sexp)
(smie-indent-hanging-p, smie-indent-calculate): Use them.
(smie-default-backward-token): Rename from smie-backward-token and
skip comments.
(smie-default-forward-token): Rename from smie-forward-token and
skip comments.
(smie-next-sexp): Handle nil results from next-token.
(smie-indent-calculate): Add a new case for special `fixindent' comments.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 27 May 2010 00:41:36 -0400 |
parents | 728449765ab0 |
children | 22e354ac21fd |
line wrap: on
line source
./bin ./BIN ./data ./etc/icons ./lock ./site-lisp ./_dir-locals.el ./config.log ./config.status oo oo-spd autom4te.cache *.dSYM *.elc *.exe DOC DOC-* makefile Makefile Makefile.c stamp_BLD subdirs.el TAGS TAGS-LISP info/* leim/leim-list.el leim/quail/*.el leim/changed.misc leim/changed.tit lib-src/ctags.c lib-src/echolisp.tmp lib-src/getopt.h lib-src/b2m lib-src/ctags lib-src/digest-doc lib-src/ebrowse lib-src/emacsclient lib-src/etags lib-src/fakemail lib-src/hexl lib-src/make-docfile lib-src/movemail lib-src/profile lib-src/sorted-doc lib-src/test-distrib lib-src/update-game-score lisp/**/*-loaddefs.el lisp/**/loaddefs.el lisp/cus-load.el lisp/eshell/esh-groups.el lisp/finder-inf.el nextstep/Emacs.app nt/config.log src/buildobj.h src/config.h src/epaths.h src/_dbxinit src/_gdbinit src/gdb.ini src/bootstrap-emacs src/emacs src/emacs-* src/prefix-args* src/stamp-oldxmenu src/temacs src/deps configure.lineno conftest* confdefs.h core lib-src/stamp-*