emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master f7572b7: Fix Semantic completion-at-point funct


From: Stefan Monnier
Subject: Re: [Emacs-diffs] master f7572b7: Fix Semantic completion-at-point functions in non-Semantic buffers
Date: Sun, 14 Dec 2014 09:30:14 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>     * lisp/cedet/semantic.el (semantic-analyze-completion-at-point-function)
>     (semantic-analyze-notc-completion-at-point-function)
>     (semantic-analyze-nolongprefix-completion-at-point-function): Do
>     nothing if the current buffer is not using Semantic.

Looks like the wrong fix.  Don't you think the right fix would be to
change the add/remove-hooks in semantic-mode so that they are
buffer-local?


        Stefan



reply via email to

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