summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-11-19 00:19:51 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2017-11-19 00:21:09 -0800
commitb2518ac7501810b49e078e55c07bf6740c27dec4 (patch)
tree1c04f5b0d469d991e6b32d60954c742ca89ff524 /lisp
parent18b235941109ab9e7a405cbe950886c97e897e11 (diff)
downloademacs-b2518ac7501810b49e078e55c07bf6740c27dec4.tar.gz
emacs-b2518ac7501810b49e078e55c07bf6740c27dec4.tar.bz2
emacs-b2518ac7501810b49e078e55c07bf6740c27dec4.zip
Spelling fixes
* lisp/help-fns.el (help-fns--analyze-function): Rename from help-fns--analyse-function. All uses changed.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/help-fns.el6
-rw-r--r--lisp/progmodes/cc-mode.el2
2 files changed, 4 insertions, 4 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index cae0247a542..7f135e52ee3 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -560,7 +560,7 @@ FILE is the file where FUNCTION was probably defined."
(setq short rel))))
short))
-(defun help-fns--analyse-function (function)
+(defun help-fns--analyze-function (function)
;; FIXME: Document/explain the differences between FUNCTION,
;; REAL-FUNCTION, DEF, and REAL-DEF.
"Return information about FUNCTION.
@@ -602,7 +602,7 @@ Returns a list of the form (REAL-FUNCTION DEF ALIASED REAL-DEF)."
(defun help-fns-function-description-header (function)
"Print a line describing FUNCTION to `standard-output'."
(pcase-let* ((`(,_real-function ,def ,aliased ,real-def)
- (help-fns--analyse-function function))
+ (help-fns--analyze-function function))
(file-name (find-lisp-object-file-name function (if aliased 'defun
def)))
(beg (if (and (or (byte-code-function-p def)
@@ -692,7 +692,7 @@ Returns a list of the form (REAL-FUNCTION DEF ALIASED REAL-DEF)."
(terpri)(terpri)
(pcase-let* ((`(,real-function ,def ,_aliased ,real-def)
- (help-fns--analyse-function function))
+ (help-fns--analyze-function function))
(doc-raw (condition-case nil
;; FIXME: Maybe `documentation' should return nil
;; for invalid functions i.s.o. signaling an error.
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index f74e931a8bb..22dea039cd1 100644
--- a/lisp/progmodes/cc-mode.el
+++ b/lisp/progmodes/cc-mode.el
@@ -1859,7 +1859,7 @@ Key bindings:
;;;###autoload
(defun c-or-c++-mode ()
- "Analyse buffer and enable either C or C++ mode.
+ "Analyze buffer and enable either C or C++ mode.
Some people and projects use .h extension for C++ header files
which is also the one used for C header files. This makes