[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs-devel Digest, Vol 148, Issue 12

From: Stefan Monnier
Subject: Re: Emacs-devel Digest, Vol 148, Issue 12
Date: Tue, 07 Jun 2016 15:07:34 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> Thank you for the answers.  You are right about the interaction with
> sml-mode.  I just tried reloading the file and then restarting the derived
> minor mode manually (M-x my-sml-mode), and the problem is gone.

I think part of the problem is a name conflict.  You defined:

>> > (defun sml-smie-rules (kind token)

but that function is also defined in sml-mode, so you'll get whichever
was loaded last.  Same thing for sml-smie-grammar.

Better use names of the form "my-sml-..." to avoid those conflicts.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]