aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorPaul Eggert2016-11-04 14:50:09 -0700
committerPaul Eggert2016-11-04 14:50:59 -0700
commitacae275b2752357497a2411876b83240ce7c8aec (patch)
treef933ac34ea480ea0a8071baf191cd3f30f253dcf /lisp
parentd8fac734e563df1169e3d8d715cca3481dfec8ac (diff)
downloademacs-acae275b2752357497a2411876b83240ce7c8aec.tar.gz
emacs-acae275b2752357497a2411876b83240ce7c8aec.zip
; Spelling fixes
Diffstat (limited to 'lisp')
-rw-r--r--lisp/cedet/ede/locate.el4
-rw-r--r--lisp/cedet/semantic/db-typecache.el2
-rw-r--r--lisp/emacs-lisp/eieio-core.el2
-rw-r--r--lisp/emulation/edt.el2
-rw-r--r--lisp/erc/erc-backend.el6
-rw-r--r--lisp/international/ucs-normalize.el2
-rw-r--r--lisp/isearch.el2
-rw-r--r--lisp/language/ind-util.el2
-rw-r--r--lisp/mh-e/mh-search.el4
-rw-r--r--lisp/mh-e/mh-thread.el8
-rw-r--r--lisp/subr.el2
11 files changed, 18 insertions, 18 deletions
diff --git a/lisp/cedet/ede/locate.el b/lisp/cedet/ede/locate.el
index 38d23883951..8564719c810 100644
--- a/lisp/cedet/ede/locate.el
+++ b/lisp/cedet/ede/locate.el
@@ -124,12 +124,12 @@ based on `ede-locate-setup-options'."
124 t) 124 t)
125 125
126(cl-defmethod ede-locate-flush-hash ((loc ede-locate-base)) 126(cl-defmethod ede-locate-flush-hash ((loc ede-locate-base))
127 "For LOC, flush hashtable and start from scratch." 127 "For LOC, flush hash table and start from scratch."
128 (oset loc hash (make-hash-table :test 'equal))) 128 (oset loc hash (make-hash-table :test 'equal)))
129 129
130(cl-defmethod ede-locate-file-in-hash ((loc ede-locate-base) 130(cl-defmethod ede-locate-file-in-hash ((loc ede-locate-base)
131 filestring) 131 filestring)
132 "For LOC, is the file FILESTRING in our hashtable?" 132 "For LOC, is the file FILESTRING in our hash table?"
133 (gethash filestring (oref loc hash))) 133 (gethash filestring (oref loc hash)))
134 134
135(cl-defmethod ede-locate-add-file-to-hash ((loc ede-locate-base) 135(cl-defmethod ede-locate-add-file-to-hash ((loc ede-locate-base)
diff --git a/lisp/cedet/semantic/db-typecache.el b/lisp/cedet/semantic/db-typecache.el
index 366af60034c..76382a30dd1 100644
--- a/lisp/cedet/semantic/db-typecache.el
+++ b/lisp/cedet/semantic/db-typecache.el
@@ -56,7 +56,7 @@
56 (stream :initform nil 56 (stream :initform nil
57 :documentation 57 :documentation
58 "The searchable tag stream for this cache. 58 "The searchable tag stream for this cache.
59NOTE: Can I get rid of this? Use a hashtable instead?") 59NOTE: Can I get rid of this? Use a hash table instead?")
60 (dependants :initform nil 60 (dependants :initform nil
61 :documentation 61 :documentation
62 "Any other object that is dependent on typecache results. 62 "Any other object that is dependent on typecache results.
diff --git a/lisp/emacs-lisp/eieio-core.el b/lisp/emacs-lisp/eieio-core.el
index 223c2a69a62..5454dfcbbc4 100644
--- a/lisp/emacs-lisp/eieio-core.el
+++ b/lisp/emacs-lisp/eieio-core.el
@@ -459,7 +459,7 @@ See `defclass' for more information."
459 (cl--slot-descriptor-initform (aref slots i))))) 459 (cl--slot-descriptor-initform (aref slots i)))))
460 (setf (eieio--class-class-allocation-values newc) v)) 460 (setf (eieio--class-class-allocation-values newc) v))
461 461
462 ;; Attach slot symbols into a hashtable, and store the index of 462 ;; Attach slot symbols into a hash table, and store the index of
463 ;; this slot as the value this table. 463 ;; this slot as the value this table.
464 (let* ((slots (eieio--class-slots newc)) 464 (let* ((slots (eieio--class-slots newc))
465 ;; (cslots (eieio--class-class-slots newc)) 465 ;; (cslots (eieio--class-class-slots newc))
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el
index 6bda15bf98d..f408ff73106 100644
--- a/lisp/emulation/edt.el
+++ b/lisp/emulation/edt.el
@@ -497,7 +497,7 @@ Argument NUM is the number of EOL marks to move."
497;;; of line, etc.) it takes a bit of special handling. 497;;; of line, etc.) it takes a bit of special handling.
498;;; 498;;;
499;;; The variable edt-word-entities contains a list of characters which 499;;; The variable edt-word-entities contains a list of characters which
500;;; are to be viewed as distinct words where ever they appear in the 500;;; are to be viewed as distinct words wherever they appear in the
501;;; buffer. This emulates the EDT line mode command SET ENTITY WORD. 501;;; buffer. This emulates the EDT line mode command SET ENTITY WORD.
502 502
503 503
diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el
index 6d508e203f4..012b5b5f3f4 100644
--- a/lisp/erc/erc-backend.el
+++ b/lisp/erc/erc-backend.el
@@ -108,7 +108,7 @@
108;;;; Variables and options 108;;;; Variables and options
109 109
110(defvar erc-server-responses (make-hash-table :test #'equal) 110(defvar erc-server-responses (make-hash-table :test #'equal)
111 "Hashtable mapping server responses to their handler hooks.") 111 "Hash table mapping server responses to their handler hooks.")
112 112
113(cl-defstruct (erc-response (:conc-name erc-response.)) 113(cl-defstruct (erc-response (:conc-name erc-response.))
114 (unparsed "" :type string) 114 (unparsed "" :type string)
@@ -1064,7 +1064,7 @@ See also `erc-server-responses'."
1064(defun erc-call-hooks (process message) 1064(defun erc-call-hooks (process message)
1065 "Call hooks associated with MESSAGE in PROCESS. 1065 "Call hooks associated with MESSAGE in PROCESS.
1066 1066
1067Finds hooks by looking in the `erc-server-responses' hashtable." 1067Finds hooks by looking in the `erc-server-responses' hash table."
1068 (let ((hook (or (erc-get-hook (erc-response.command message)) 1068 (let ((hook (or (erc-get-hook (erc-response.command message))
1069 'erc-default-server-functions))) 1069 'erc-default-server-functions)))
1070 (run-hook-with-args-until-success hook process message) 1070 (run-hook-with-args-until-success hook process message)
@@ -1220,7 +1220,7 @@ add things to `%s' instead."
1220 (put ',fn-name 'definition-name ',name) 1220 (put ',fn-name 'definition-name ',name)
1221 (put ',hook-name 'definition-name ',name) 1221 (put ',hook-name 'definition-name ',name)
1222 1222
1223 ;; Hashtable map of responses to hook variables 1223 ;; Hash table map of responses to hook variables
1224 ,@(cl-loop for response in (cons name aliases) 1224 ,@(cl-loop for response in (cons name aliases)
1225 for var in (cons hook-name var-alternates) 1225 for var in (cons hook-name var-alternates)
1226 collect `(puthash ,(format "%s" response) ',var 1226 collect `(puthash ,(format "%s" response) ',var
diff --git a/lisp/international/ucs-normalize.el b/lisp/international/ucs-normalize.el
index 74978ce38a3..1e247c5dba5 100644
--- a/lisp/international/ucs-normalize.el
+++ b/lisp/international/ucs-normalize.el
@@ -227,7 +227,7 @@
227 table)) 227 table))
228 228
229(defvar ucs-normalize-decomposition-pair-to-primary-composite nil 229(defvar ucs-normalize-decomposition-pair-to-primary-composite nil
230 "Hashtable of decomposed pair to primary composite. 230 "Hash table of decomposed pair to primary composite.
231Note that Hangul are excluded.") 231Note that Hangul are excluded.")
232 (setq ucs-normalize-decomposition-pair-to-primary-composite 232 (setq ucs-normalize-decomposition-pair-to-primary-composite
233 (ucs-normalize-make-hash-table-from-alist 233 (ucs-normalize-make-hash-table-from-alist
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 01819510a6f..ff779308051 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -562,7 +562,7 @@ The symbol property `isearch-message-prefix' put on this function
562specifies the prefix string displayed in the search message. 562specifies the prefix string displayed in the search message.
563 563
564This variable is set and changed during isearch. To change the 564This variable is set and changed during isearch. To change the
565default behaviour used for searches, see `search-default-mode' 565default behavior used for searches, see `search-default-mode'
566instead.") 566instead.")
567;; We still support setting this to t for backwards compatibility. 567;; We still support setting this to t for backwards compatibility.
568(define-obsolete-variable-alias 'isearch-word 568(define-obsolete-variable-alias 'isearch-word
diff --git a/lisp/language/ind-util.el b/lisp/language/ind-util.el
index deea48933c8..f7424ecd84f 100644
--- a/lisp/language/ind-util.el
+++ b/lisp/language/ind-util.el
@@ -39,7 +39,7 @@
39(eval-and-compile 39(eval-and-compile
40 40
41(defun indian-regexp-of-hashtbl-keys (hashtbl) 41(defun indian-regexp-of-hashtbl-keys (hashtbl)
42 "Returns the regular expression of hashtable keys." 42 "Return the regular expression of hash table keys."
43 (let (keys) 43 (let (keys)
44 (maphash (lambda (key val) (push key keys)) hashtbl) 44 (maphash (lambda (key val) (push key keys)) hashtbl)
45 (regexp-opt keys))) 45 (regexp-opt keys)))
diff --git a/lisp/mh-e/mh-search.el b/lisp/mh-e/mh-search.el
index 6e607444ad8..d5a2d779b21 100644
--- a/lisp/mh-e/mh-search.el
+++ b/lisp/mh-e/mh-search.el
@@ -1859,7 +1859,7 @@ PROC is used to convert the value to actual data."
1859(defun mh-index-update-maps (folder &optional origin-map) 1859(defun mh-index-update-maps (folder &optional origin-map)
1860 "Annotate all as yet unannotated messages in FOLDER with their MD5 hash. 1860 "Annotate all as yet unannotated messages in FOLDER with their MD5 hash.
1861As a side effect msg -> checksum map is updated. Optional 1861As a side effect msg -> checksum map is updated. Optional
1862argument ORIGIN-MAP is a hashtable which maps each message in the 1862argument ORIGIN-MAP is a hash table which maps each message in the
1863index folder to the original folder and message from whence it 1863index folder to the original folder and message from whence it
1864was copied. If present the checksum -> (origin-folder, 1864was copied. If present the checksum -> (origin-folder,
1865origin-index) map is updated too." 1865origin-index) map is updated too."
@@ -1913,7 +1913,7 @@ origin-index) map is updated too."
1913(defun mh-index-update-single-msg (msg checksum origin-map) 1913(defun mh-index-update-single-msg (msg checksum origin-map)
1914 "Update various maps for one message. 1914 "Update various maps for one message.
1915MSG is a index folder message, CHECKSUM its MD5 hash and 1915MSG is a index folder message, CHECKSUM its MD5 hash and
1916ORIGIN-MAP, if non-nil, a hashtable containing which maps each 1916ORIGIN-MAP, if non-nil, a hash table containing which maps each
1917message in the index folder to the folder and message that it was 1917message in the index folder to the folder and message that it was
1918copied from. The function updates the hash tables 1918copied from. The function updates the hash tables
1919`mh-index-msg-checksum-map' and `mh-index-checksum-origin-map'. 1919`mh-index-msg-checksum-map' and `mh-index-checksum-origin-map'.
diff --git a/lisp/mh-e/mh-thread.el b/lisp/mh-e/mh-thread.el
index e6acdba8b30..2a37cfc9e42 100644
--- a/lisp/mh-e/mh-thread.el
+++ b/lisp/mh-e/mh-thread.el
@@ -89,11 +89,11 @@
89 (real-child-p t)) 89 (real-child-p t))
90 90
91(defvar mh-thread-id-hash nil 91(defvar mh-thread-id-hash nil
92 "Hashtable used to canonicalize message identifiers.") 92 "Hash table used to canonicalize message identifiers.")
93(make-variable-buffer-local 'mh-thread-id-hash) 93(make-variable-buffer-local 'mh-thread-id-hash)
94 94
95(defvar mh-thread-subject-hash nil 95(defvar mh-thread-subject-hash nil
96 "Hashtable used to canonicalize subject strings.") 96 "Hash table used to canonicalize subject strings.")
97(make-variable-buffer-local 'mh-thread-subject-hash) 97(make-variable-buffer-local 'mh-thread-subject-hash)
98 98
99(defvar mh-thread-id-table nil 99(defvar mh-thread-id-table nil
@@ -109,11 +109,11 @@
109(make-variable-buffer-local 'mh-thread-id-index-map) 109(make-variable-buffer-local 'mh-thread-id-index-map)
110 110
111(defvar mh-thread-subject-container-hash nil 111(defvar mh-thread-subject-container-hash nil
112 "Hashtable used to group messages by subject.") 112 "Hash table used to group messages by subject.")
113(make-variable-buffer-local 'mh-thread-subject-container-hash) 113(make-variable-buffer-local 'mh-thread-subject-container-hash)
114 114
115(defvar mh-thread-duplicates nil 115(defvar mh-thread-duplicates nil
116 "Hashtable used to associate messages with the same message identifier.") 116 "Hash table used to associate messages with the same message identifier.")
117(make-variable-buffer-local 'mh-thread-duplicates) 117(make-variable-buffer-local 'mh-thread-duplicates)
118 118
119(defvar mh-thread-history () 119(defvar mh-thread-history ()
diff --git a/lisp/subr.el b/lisp/subr.el
index 07909b894f5..efea412af0e 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -903,7 +903,7 @@ KEY is a string or vector representing a sequence of keystrokes."
903 903
904(defun substitute-key-definition (olddef newdef keymap &optional oldmap prefix) 904(defun substitute-key-definition (olddef newdef keymap &optional oldmap prefix)
905 "Replace OLDDEF with NEWDEF for any keys in KEYMAP now defined as OLDDEF. 905 "Replace OLDDEF with NEWDEF for any keys in KEYMAP now defined as OLDDEF.
906In other words, OLDDEF is replaced with NEWDEF where ever it appears. 906In other words, OLDDEF is replaced with NEWDEF wherever it appears.
907Alternatively, if optional fourth argument OLDMAP is specified, we redefine 907Alternatively, if optional fourth argument OLDMAP is specified, we redefine
908in KEYMAP as NEWDEF those keys which are defined as OLDDEF in OLDMAP. 908in KEYMAP as NEWDEF those keys which are defined as OLDDEF in OLDMAP.
909 909