summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cust-print.el
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-06-09 11:59:12 +0000
committerJim Blandy <jimb@redhat.com>1993-06-09 11:59:12 +0000
commiteb8c3be94e12644f506b8857e49ffef88046bb0b (patch)
tree505c4ea5ae59214e4d6e749047d160c98191c9d2 /lisp/emacs-lisp/cust-print.el
parent16a4a21d0117ef5ed346f340f244fe199d3c8a26 (diff)
downloademacs-eb8c3be94e12644f506b8857e49ffef88046bb0b.tar.gz
emacs-eb8c3be94e12644f506b8857e49ffef88046bb0b.tar.bz2
emacs-eb8c3be94e12644f506b8857e49ffef88046bb0b.zip
Apply typo patches from Paul Eggert.
Diffstat (limited to 'lisp/emacs-lisp/cust-print.el')
-rw-r--r--lisp/emacs-lisp/cust-print.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/cust-print.el b/lisp/emacs-lisp/cust-print.el
index 355b046b956..863c8daaf3b 100644
--- a/lisp/emacs-lisp/cust-print.el
+++ b/lisp/emacs-lisp/cust-print.el
@@ -121,8 +121,8 @@ If nil, printing proceeds recursively and may lead to
`print-length' and `print-level'.
If non-nil, shared substructures anywhere in the structure are printed
-with `#N=' before the first occurance (in the order of the print
-representation) and `#N#' in place of each subsequent occurance,
+with `#N=' before the first occurrence (in the order of the print
+representation) and `#N#' in place of each subsequent occurrence,
where N is a positive decimal integer.
Currently, there is no way to read this representation in Emacs.")
@@ -269,7 +269,7 @@ string argument will also work. The string is generated with
(defun custom-message (fmt &rest args)
"Replacement for standard `message' that works like `custom-format'."
- ;; It doesnt work to princ the result of custom-format
+ ;; It doesn't work to princ the result of custom-format
;; because the echo area requires special handling
;; to avoid duplicating the output. cust-print-internal-message does it right.
;; (cust-print-internal-princ (apply 'custom-format fmt args))
@@ -352,7 +352,7 @@ string argument will also work. The string is generated with
;; Print the custom OBJECT using the custom type ALIST.
;; For the first predicate that matches the object, the corresponding
;; converter is evaluated with the object and the string that results is
-;; printed with princ. Return nil if no predicte matches the object.
+;; printed with princ. Return nil if no predicate matches the object.
(defun cust-print-custom-object1 (object alist)
(while (and alist (not (funcall (car (car alist)) object)))
(setq alist (cdr alist)))