diff options
author | Noam Postavsky <npostavs@gmail.com> | 2016-08-13 22:13:56 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2016-12-21 21:39:58 -0500 |
commit | de0671096706bf7404cddce277b918c8d769f17b (patch) | |
tree | bdcd1ebaef3702670e8bc41afc6d41ab0af9774a /src/coding.c | |
parent | acd65a7d948f77701f5bdc99c031ca8fdb1e976e (diff) | |
download | emacs-de0671096706bf7404cddce277b918c8d769f17b.tar.gz emacs-de0671096706bf7404cddce277b918c8d769f17b.tar.bz2 emacs-de0671096706bf7404cddce277b918c8d769f17b.zip |
Use completion-at-point in verilog-mode
There were some functions in verilog-mode that implemented in-buffer
completion, but this needlessly duplicates completion-at-point
functionality, and the popup window management had problems
(see Bug #23842). We need to keep them for backwards compatibility with
older emacs versions, but use completion-at-point if available.
* lisp/progmodes/verilog-mode.el (verilog-toggle-completions): Mark as
obsolete if completion-cycle-threshold is available.
(verilog-mode-map, verilog-menu): Bind completion-at-point and
completion-help-at-point in preference to verilog-complete-word and
verilog-show-completions, respectively.
(verilog-mode): Add verilog-completion-at-point to
completion-at-point-functions.
(verilog-completion-at-point): New function.
(verilog-show-completions, verilog-complete-word): Use it to avoid code
duplication.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions