From 3b1fd97d7fdd299a825104daa59a6fb14bc27704 Mon Sep 17 00:00:00 2001 From: Chris Mann Date: Sat, 18 Oct 2008 15:35:22 +1030 Subject: [PATCH] * wesnoth-mode.el (wesnoth-complete-preprocessor): Fixed a bug where completions were not in the correct format for < Emacs 22. --- wesnoth-mode.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wesnoth-mode.el b/wesnoth-mode.el index 9fd9bfc..a134408 100644 --- a/wesnoth-mode.el +++ b/wesnoth-mode.el @@ -369,8 +369,9 @@ ELEMENTS is the number of elements to wrap around. If COMPLETEP is non-nil, attempt to complete preprocessor at point." (interactive "P") (or elements (setq elements 0)) - (let* ((completions '("define" "else" "ifdef" "ifndef" - "enddef" "endif" "undef")) + (let* ((completions (wesnoth-emacs-completion-formats + '("define" "else" "ifdef" "ifndef" + "enddef" "endif" "undef"))) (partial (when completep (save-excursion (back-to-indentation) -- 2.11.4.GIT