branch: externals/wisi commit c101d1009aeec007342c50cdef9055d121d36cf4 Author: Stefan Kangas <stefankan...@gmail.com> Commit: Stefan Kangas <stefankan...@gmail.com>
; Fix typos --- install.sh | 2 +- wisi-prj.el | 6 +++--- wisi-process-parse.el | 2 +- wisi.el | 2 +- wisi.texi | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/install.sh b/install.sh index 886fc94eed..202d6a1e8b 100644 --- a/install.sh +++ b/install.sh @@ -6,7 +6,7 @@ # $1 : optional --prefix=<dir> # # If you don't have write permission in the GNAT installation -# directory, you need to use --prefix=<dir>, or run with root priviledges. +# directory, you need to use --prefix=<dir>, or run with root privileges. WISI_DIR=`ls -d ../wisi-3.1.?` diff --git a/wisi-prj.el b/wisi-prj.el index a97389f849..a1e7301b6c 100644 --- a/wisi-prj.el +++ b/wisi-prj.el @@ -55,7 +55,7 @@ ;; ;; New exceptions may be added interactively via ;; `wisi-case-create-exception'. If an exception is defined in - ;; multiple files, the first occurence is used. + ;; multiple files, the first occurrence is used. ;; ;; The file format is one word per line, which gives the casing to be ;; used for that word in source code. If the line starts with @@ -534,7 +534,7 @@ With prefix, keep previous references in output buffer." )) (defun wisi-show-local-references (&optional append) - "Show all references of identifier at point occuring in current file. + "Show all references of identifier at point occurring in current file. With prefix, keep previous references in output buffer." (interactive "P") (let* ((project (wisi-check-current-project (buffer-file-name))) @@ -998,7 +998,7 @@ Return (cons full-exceptions partial-exceptions)." )) (defun wisi--case-merge-exceptions (result new) - "Merge NEW exeptions into RESULT. + "Merge NEW exceptions into RESULT. An item in both lists has the RESULT value." (dolist (item new) (unless (assoc-string (car item) result t) diff --git a/wisi-process-parse.el b/wisi-process-parse.el index 05dca65c66..80285cbed4 100644 --- a/wisi-process-parse.el +++ b/wisi-process-parse.el @@ -258,7 +258,7 @@ Otherwise add PARSER to `wisi-process--alist', return it." (defun wisi-process-parse--add-cmd-length (cmd) "Return CMD (a string) with length prefixed." ;; Characters in cmd length must match emacs_wisi_common_parse.adb - ;; Get_Command_Length. If the actual length overflows the alloted + ;; Get_Command_Length. If the actual length overflows the allotted ;; space, we will get a protocol_error from the parser ;; eventually. Caller should prevent that and send an alternate ;; command. diff --git a/wisi.el b/wisi.el index bb2506fefa..324c463e59 100644 --- a/wisi.el +++ b/wisi.el @@ -956,7 +956,7 @@ Run the parser first if needed." (defun wisi-validate-cache (begin end error-on-fail parse-action) "Ensure cached data for PARSE-ACTION is valid in region BEGIN END" - ;; Tolerate (point) +- size exeeding buffer limits. + ;; Tolerate (point) +- size exceeding buffer limits. (setq begin (max begin (point-min))) (setq end (min end (point-max))) diff --git a/wisi.texi b/wisi.texi index 8f6987d43c..7a178ba1ae 100644 --- a/wisi.texi +++ b/wisi.texi @@ -231,7 +231,7 @@ some other purpose. It is good style to indicate the purpose in a comment. For example, ada-mode uses a 'misc' property on left parentheses that -start a subprogram parameter list; this distinquishes them from other +start a subprogram parameter list; this distinguishes them from other left parentheses, and makes it possible to automatically call @code{ada-format-paramlist} to format the parameter list, instead of using the standard Emacs @code{align}. @@ -338,7 +338,7 @@ Indent for comments are computed in the same way, except that the delta that applies to a comment that follows a token is given by the indent action entry for the next token. If a token is the last in a production, the comment indent is @code{nil}. These rules often give -the wrong indent for a comment, so they can be overridden by specifing +the wrong indent for a comment, so they can be overridden by specifying a comment indent for a token using @code{[CODE-INDENT COMMENT-INDENT]}; see below. Indent functions can also modify how comments are indented. @@ -517,7 +517,7 @@ expression_list : expression | expression_list ',' expression statements : statement | statements statement -statement : function_call ';' | assigment | if_statment +statement : function_call ';' | assignment | if_statment assign_value : ':=' expression