diff options
| author | Paul Eggert | 2013-08-27 12:02:42 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-08-27 12:02:42 -0700 |
| commit | b73517d9ecf5efeea0d6cbde56730132f5e1b611 (patch) | |
| tree | 31493a02b35cc996481d14e91c12839acbb6c441 | |
| parent | 43aac990c339c0fc3304aa476ebc8ea8467f107e (diff) | |
| download | emacs-b73517d9ecf5efeea0d6cbde56730132f5e1b611.tar.gz emacs-b73517d9ecf5efeea0d6cbde56730132f5e1b611.zip | |
Spelling fixes.
| -rw-r--r-- | lisp/ChangeLog.12 | 2 | ||||
| -rw-r--r-- | test/automated/eieio-test-methodinvoke.el | 4 | ||||
| -rw-r--r-- | test/automated/eieio-tests.el | 16 |
3 files changed, 11 insertions, 11 deletions
diff --git a/lisp/ChangeLog.12 b/lisp/ChangeLog.12 index 6b34ef55783..7fcc4ff0caf 100644 --- a/lisp/ChangeLog.12 +++ b/lisp/ChangeLog.12 | |||
| @@ -17355,7 +17355,7 @@ | |||
| 17355 | 17355 | ||
| 17356 | * calc/calc-embed.el (calc-do-embedded): Update help message. | 17356 | * calc/calc-embed.el (calc-do-embedded): Update help message. |
| 17357 | 17357 | ||
| 17358 | * calc/calc-prog.el (calc-user-define-invokation): Update help message. | 17358 | * calc/calc-prog.el (calc-user-define-invocation): Update help message. |
| 17359 | 17359 | ||
| 17360 | 2005-11-28 Stefan Monnier <monnier@iro.umontreal.ca> | 17360 | 2005-11-28 Stefan Monnier <monnier@iro.umontreal.ca> |
| 17361 | 17361 | ||
diff --git a/test/automated/eieio-test-methodinvoke.el b/test/automated/eieio-test-methodinvoke.el index 76a28919f21..db8618c811e 100644 --- a/test/automated/eieio-test-methodinvoke.el +++ b/test/automated/eieio-test-methodinvoke.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; eieio-testsinvoke.el -- eieio tests for method invokation | 1 | ;;; eieio-testsinvoke.el -- eieio tests for method invocation |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2005, 2008, 2010, 2013 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2005, 2008, 2010, 2013 Free Software Foundation, Inc. |
| 4 | 4 | ||
| @@ -136,7 +136,7 @@ | |||
| 136 | (setq eieio-test-method-order-list (nreverse eieio-test-method-order-list)) | 136 | (setq eieio-test-method-order-list (nreverse eieio-test-method-order-list)) |
| 137 | (eieio-test-match ans))) | 137 | (eieio-test-match ans))) |
| 138 | 138 | ||
| 139 | ;;; Test static invokation | 139 | ;;; Test static invocation |
| 140 | ;; | 140 | ;; |
| 141 | (defmethod eitest-H :STATIC ((class eitest-A)) | 141 | (defmethod eitest-H :STATIC ((class eitest-A)) |
| 142 | "No need to do work in here." | 142 | "No need to do work in here." |
diff --git a/test/automated/eieio-tests.el b/test/automated/eieio-tests.el index 2d8ae4c7d43..144f0bc919d 100644 --- a/test/automated/eieio-tests.el +++ b/test/automated/eieio-tests.el | |||
| @@ -21,7 +21,7 @@ | |||
| 21 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 21 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 22 | 22 | ||
| 23 | ;;; Commentary: | 23 | ;;; Commentary: |
| 24 | ;; | 24 | ;; |
| 25 | ;; Test the various features of EIEIO. | 25 | ;; Test the various features of EIEIO. |
| 26 | 26 | ||
| 27 | (require 'ert) | 27 | (require 'ert) |
| @@ -66,7 +66,7 @@ | |||
| 66 | :initform moose | 66 | :initform moose |
| 67 | :type symbol | 67 | :type symbol |
| 68 | :allocation :instance | 68 | :allocation :instance |
| 69 | :documentation "Fisrt slot testing slot arguments." | 69 | :documentation "First slot testing slot arguments." |
| 70 | :custom symbol | 70 | :custom symbol |
| 71 | :label "Wild Animal" | 71 | :label "Wild Animal" |
| 72 | :group borg | 72 | :group borg |
| @@ -166,7 +166,7 @@ | |||
| 166 | (defun anormalfunction () "A plain function for error testing." nil) | 166 | (defun anormalfunction () "A plain function for error testing." nil) |
| 167 | (should-error | 167 | (should-error |
| 168 | (progn | 168 | (progn |
| 169 | (defgeneric anormalfunction () | 169 | (defgeneric anormalfunction () |
| 170 | "Attempt to turn it into a generic."))) | 170 | "Attempt to turn it into a generic."))) |
| 171 | 171 | ||
| 172 | ;; Check that generic-p works | 172 | ;; Check that generic-p works |
| @@ -589,7 +589,7 @@ METHOD is the method that was attempting to be called." | |||
| 589 | ;;; HACK ALERT: The new value of a class slot is inherited by the | 589 | ;;; HACK ALERT: The new value of a class slot is inherited by the |
| 590 | ;; subclass! This is probably a bug. We should either share the slot | 590 | ;; subclass! This is probably a bug. We should either share the slot |
| 591 | ;; so sets on the baseclass change the subclass, or we should inherit | 591 | ;; so sets on the baseclass change the subclass, or we should inherit |
| 592 | ;; the original value. | 592 | ;; the original value. |
| 593 | ;; (should (eq (get-slot-3 eitest-t2) 'emu)) | 593 | ;; (should (eq (get-slot-3 eitest-t2) 'emu)) |
| 594 | ;; (should (eq (get-slot-3 class-subc) 'emu)) | 594 | ;; (should (eq (get-slot-3 class-subc) 'emu)) |
| 595 | ;; (setf (get-slot-3 eitest-t2) 'setf-emu) | 595 | ;; (setf (get-slot-3 eitest-t2) 'setf-emu) |
| @@ -604,7 +604,7 @@ METHOD is the method that was attempting to be called." | |||
| 604 | "Try to access slot-2 from this class which doesn't have it. | 604 | "Try to access slot-2 from this class which doesn't have it. |
| 605 | The object S2 passed in will be of class prot-1, which does have | 605 | The object S2 passed in will be of class prot-1, which does have |
| 606 | the slot. This could be allowed, and currently is in EIEIO. | 606 | the slot. This could be allowed, and currently is in EIEIO. |
| 607 | Needed by the eieio persistant base class." | 607 | Needed by the eieio persistent base class." |
| 608 | (oref s2 slot-2)) | 608 | (oref s2 slot-2)) |
| 609 | 609 | ||
| 610 | (defclass prot-1 (prot-0) | 610 | (defclass prot-1 (prot-0) |
| @@ -662,7 +662,7 @@ Do not override for `prot-2'." | |||
| 662 | (prot0-slot-2 eitest-p1) | 662 | (prot0-slot-2 eitest-p1) |
| 663 | ;; Accessing private slot out of context must fail | 663 | ;; Accessing private slot out of context must fail |
| 664 | (should-error (oref eitest-p1 slot-3) :type 'invalid-slot-name) | 664 | (should-error (oref eitest-p1 slot-3) :type 'invalid-slot-name) |
| 665 | ;; Access private slot in ethod | 665 | ;; Access private slot in method |
| 666 | (prot1-slot-3 eitest-p1) | 666 | (prot1-slot-3 eitest-p1) |
| 667 | ;; Access private slot in subclass method must fail | 667 | ;; Access private slot in subclass method must fail |
| 668 | (should-error (prot1-slot-3 eitest-p2) :type 'invalid-slot-name) | 668 | (should-error (prot1-slot-3 eitest-p2) :type 'invalid-slot-name) |
| @@ -713,7 +713,7 @@ Do not override for `prot-2'." | |||
| 713 | Subclasses to override slot attributes.") | 713 | Subclasses to override slot attributes.") |
| 714 | 714 | ||
| 715 | (defclass slotattr-ok (slotattr-base) | 715 | (defclass slotattr-ok (slotattr-base) |
| 716 | ((initform :initform no-init) | 716 | ((initform :initform no-init) |
| 717 | (initarg :initarg :initblarg) | 717 | (initarg :initarg :initblarg) |
| 718 | (custom :custom string | 718 | (custom :custom string |
| 719 | :label "One String" | 719 | :label "One String" |
| @@ -767,7 +767,7 @@ Subclasses to override slot attributes.") | |||
| 767 | Subclasses to override slot attributes.") | 767 | Subclasses to override slot attributes.") |
| 768 | 768 | ||
| 769 | (defclass slotattr-class-ok (slotattr-class-base) | 769 | (defclass slotattr-class-ok (slotattr-class-base) |
| 770 | ((initform :initform no-init) | 770 | ((initform :initform no-init) |
| 771 | (initarg :initarg :initblarg) | 771 | (initarg :initarg :initblarg) |
| 772 | (custom :custom string | 772 | (custom :custom string |
| 773 | :label "One String" | 773 | :label "One String" |