From 5db03fe90b53c7afb4d5e416730f24ef09cc7f01 Mon Sep 17 00:00:00 2001 From: Chris Mann Date: Thu, 10 Jan 2008 17:11:25 +1030 Subject: [PATCH] * wesnoth-mode.el: Fix docstring typos. --- wesnoth-mode.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wesnoth-mode.el b/wesnoth-mode.el index 1b1e551..45b5c79 100644 --- a/wesnoth-mode.el +++ b/wesnoth-mode.el @@ -214,7 +214,7 @@ indent the line." wesnoth-preprocessor-opening-regexp "\\)\\)"))) (defun wesnoth-element (&optional preproc-bol) - "Return string to use for an opening or closing identation element." + "Return string to use for an opening or closing indentation element." (if preproc-bol "^[\t ]*\\[" (concat "^[\t ]*\\(\\[\\|" @@ -254,7 +254,7 @@ are given, the tags will be inserted around the specified region." (wesnoth-insert-and-indent "\n[/" tagname "]")))) (defun wesnoth-insert-missing-closing (&optional start end) - "Insert the next exected closing element at point." + "Insert the next expected closing element at point." (interactive) (if (and transient-mark-mode mark-active) (setq start (region-beginning) @@ -274,7 +274,7 @@ are given, the tags will be inserted around the specified region." (error "%s" "Unable to find element to insert")))) (defun wesnoth-insert-and-indent (&rest args) - "Concatentate and insert the given string(s) before indenting." + "Concatenate and insert the given string(s) before indenting." (insert (apply 'concat args)) (wesnoth-indent-line) (end-of-line)) @@ -425,7 +425,7 @@ Otherwise return nil." If SAVEFILE is non-nil, use savefile-style indentation, otherwise use default style indentation. If PREPROC-BOL is non-nil, indent preprocessor statements -to the first column, otherwise indent them inline with any +to the first column, otherwise indent them in-line with any surrounding tags." (beginning-of-line) (if (or (not (wesnoth-wml-start-pos)) @@ -526,7 +526,7 @@ position." "Check the buffer for correct nesting of elements. If a problem is found in the structure, point will be placed at the location which an element was expected and the expected -element will be displayed in the minibuffer." +element will be displayed in the mini-buffer." (interactive) (unless (or start end) (if (and transient-mark-mode mark-active) -- 2.11.4.GIT