From 292d96c20961e1ae50ef8b3f7467f20c59e5e8b3 Mon Sep 17 00:00:00 2001 From: Chris Mann Date: Mon, 15 Dec 2008 18:25:49 +1030 Subject: [PATCH] * wesnoth-mode.el (wesnoth-insert-tag): Fix bug where attribute could be inserted when a tag was unavailable in `wesnoth-complete-tag'. --- wesnoth-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wesnoth-mode.el b/wesnoth-mode.el index 875dd45..269bce7 100644 --- a/wesnoth-mode.el +++ b/wesnoth-mode.el @@ -730,7 +730,7 @@ tag should wrap around. TAGNAME is the name of the tag to be inserted." (interactive "Ps") (unless tagname - (setq tagname (completing-read "Tag: " (wesnoth-build-completion 1) + (setq tagname (completing-read "Tag: " (wesnoth-build-completion 0) nil nil nil 'wesnoth-history-list))) (when (or (not elements) (looking-at (concat "[\t ]*\\(:?\\[/\\|" -- 2.11.4.GIT