ada-mode-users
[Top][All Lists]
Advanced

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

Re: [Ada-mode-users] Keywords not being identified in ada-mode 5.3.1 (or


From: Jonty Needham
Subject: Re: [Ada-mode-users] Keywords not being identified in ada-mode 5.3.1 (or 5.2.2)
Date: Thu, 15 Nov 2018 09:27:48 +0000

Fixed in 5.3.2 -- well done Stephen and thankyou!

On Wed, Nov 14, 2018 at 6:23 PM Stephen Leake <address@hidden> wrote:
Simon Wright <address@hidden> writes:

> I'm pretty sure the problem is at the end of (ada-mode) in ada-mode.el, where the latest code from mtn has
>
>  (if (<= emacs-major-version 25)
>      ;; run-mode-hooks does _not_ call hack-local-variables
>      (add-hook 'hack-local-variables-hook 'ada-mode-post-local-vars nil t)
>    ;; >= 26; run-mode-hooks _does_ call hack-local-variables
>    (ada-mode-post-local-vars))
>
> vs elpa, just
>
>  (add-hook 'hack-local-variables-hook 'ada-mode-post-local-vars nil t)

Ah; that makes sense.

I am working on a new ELPA release; this bumps up that priority.

Jonty; to fix your installation, edit
~/.emacs.d/elpa/ada-mode-5.3.0/ada-mode.el to match the mtn version
above, then:

M-x byte-compile ada-mode.el

and restart emacs.

--
-- Stephe


reply via email to

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