Mercurial > emacs
view etc/ORDERS @ 110802:e544f6cc2447
SMIE: Reliably distinguish openers/closers in smie-prec2-levels
* lisp/emacs-lisp/smie.el (smie-bnf-classify): New function.
(smie-bnf-precedence-table): Use it to remember the closers/openers.
(smie-merge-prec2s): Handle those new entries.
(smie-prec2-levels): Only set precedence to nil for actual
openers/closers.
* lisp/progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
that is now unnecessary.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 07 Oct 2010 13:27:19 +0200 |
parents | ea7513e99331 |
children |
line wrap: on
line source
Printed copies of the GNU Emacs Manual, the Emacs Lisp Reference Manual, "Programming in Emacs Lisp: An Introduction", and other materials can be ordered directly from the Free Software Foundation. For more information, see the online store at <http://shop.fsf.org/>. Your purchases will help support further development of Emacs and other free software programs. You can also make tax-deductible donations to the Free Software Foundation, a not-for-profit organization (assuming you pay US taxes) - see <https://my.fsf.org/donate/>.