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: Stephen Leake
Subject: Re: [Ada-mode-users] Keywords not being identified in ada-mode 5.3.1 (or 5.2.2)
Date: Wed, 14 Nov 2018 11:22:56 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (windows-nt)

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]