aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2016-11-04 15:07:01 -0700
committerPaul Eggert2016-11-04 15:07:13 -0700
commita59f4bb5b8f1e702901d166ce44c4dcddc262b62 (patch)
treeca8433ca69a6d86cd0881c368ca3044700d57e15
parentae0a1a890ec7b885e85cd945a21ca42fed80df3d (diff)
downloademacs-a59f4bb5b8f1e702901d166ce44c4dcddc262b62.tar.gz
emacs-a59f4bb5b8f1e702901d166ce44c4dcddc262b62.zip
; Spelling fixes
-rw-r--r--doc/misc/tramp.texi2
-rw-r--r--etc/NEWS13
-rw-r--r--lisp/registry.el10
-rw-r--r--test/lisp/thingatpt-tests.el2
4 files changed, 14 insertions, 13 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index d8a2beac405..0e09cf7e7bb 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -2459,7 +2459,7 @@ local @file{.emacs} file:
2459 2459
2460Setting the @env{ENV} environment variable instructs some shells to 2460Setting the @env{ENV} environment variable instructs some shells to
2461read an initialization file. Per default, @value{tramp} has disabled 2461read an initialization file. Per default, @value{tramp} has disabled
2462this. You could overwrite this behaviour by evaluating 2462this. You could overwrite this behavior by evaluating
2463 2463
2464@lisp 2464@lisp
2465@group 2465@group
diff --git a/etc/NEWS b/etc/NEWS
index f34ee2d5799..4bf5332fcc3 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -87,7 +87,7 @@ the output buffer is not erased; this variable also controls where
87to set the point in the output buffer: beginning of the output, 87to set the point in the output buffer: beginning of the output,
88end of the buffer or save the point. 88end of the buffer or save the point.
89When 'shell-command-dont-erase-buffer' is nil, the default value, 89When 'shell-command-dont-erase-buffer' is nil, the default value,
90the behaviour of 'shell-command', 'shell-command-on-region' and 90the behavior of 'shell-command', 'shell-command-on-region' and
91'async-shell-command' is as usual. 91'async-shell-command' is as usual.
92 92
93+++ 93+++
@@ -234,7 +234,7 @@ all call stack frames in a Lisp backtrace buffer as lists. Both
234debug.el and edebug.el have been updated to heed to this variable. 234debug.el and edebug.el have been updated to heed to this variable.
235 235
236+++ 236+++
237** The new variable `x-ctrl-keysym` has been added to the existing 237** The new variable 'x-ctrl-keysym' has been added to the existing
238roster of X keysyms. It can be used in combination with another 238roster of X keysyms. It can be used in combination with another
239variable of this kind to swap modifiers in Emacs. 239variable of this kind to swap modifiers in Emacs.
240 240
@@ -372,7 +372,7 @@ also available in 'image-mode'.
372 372
373+++ 373+++
374*** A new library for creating and manipulating SVG images has been 374*** A new library for creating and manipulating SVG images has been
375added. See the "SVG Images" section in the lispref manual for 375added. See the "SVG Images" section in the Lisp reference manual for
376details. 376details.
377 377
378+++ 378+++
@@ -543,9 +543,10 @@ function 'check-declare-errmsg' has been removed.
543** New function 'undo-amalgamate-change-group' to get rid of 543** New function 'undo-amalgamate-change-group' to get rid of
544undo-boundaries between two states. 544undo-boundaries between two states.
545 545
546** New var 'definition-prefixes' is a hashtable mapping prefixes to the 546** New var 'definition-prefixes' is a hash table mapping prefixes to
547files where corresponding definitions can be found. This can be used 547the files where corresponding definitions can be found. This can be
548to fetch definitions that are not yet loaded, for example for 'C-h f'. 548used to fetch definitions that are not yet loaded, for example for
549'C-h f'.
549 550
550** New var 'syntax-ppss-table' to control the syntax-table used in 551** New var 'syntax-ppss-table' to control the syntax-table used in
551'syntax-ppss'. 552'syntax-ppss'.
diff --git a/lisp/registry.el b/lisp/registry.el
index e8bc6f5545a..3aaa8e87ea0 100644
--- a/lisp/registry.el
+++ b/lisp/registry.el
@@ -35,11 +35,11 @@
35 35
36;; tracked: a list of symbols 36;; tracked: a list of symbols
37 37
38;; tracker: a hashtable tuned for 100 symbols to track (you should 38;; tracker: a hash table tuned for 100 symbols to track (you should
39;; only access this with the :lookup2-function and the 39;; only access this with the :lookup2-function and the
40;; :lookup2+-function) 40;; :lookup2+-function)
41 41
42;; data: a hashtable with default size 10K and resize threshold 2.0 42;; data: a hash table with default size 10K and resize threshold 2.0
43;; (this reflects the expected usage so override it if you know better) 43;; (this reflects the expected usage so override it if you know better)
44 44
45;; ...plus methods to do all the work: `registry-search', 45;; ...plus methods to do all the work: `registry-search',
@@ -124,10 +124,10 @@
124 :documentation "The precious fields, a list of symbols.") 124 :documentation "The precious fields, a list of symbols.")
125 (tracker :initarg :tracker 125 (tracker :initarg :tracker
126 :type hash-table 126 :type hash-table
127 :documentation "The field tracking hashtable.") 127 :documentation "The field tracking hash table.")
128 (data :initarg :data 128 (data :initarg :data
129 :type hash-table 129 :type hash-table
130 :documentation "The data hashtable."))) 130 :documentation "The data hash table.")))
131 131
132(cl-defmethod initialize-instance :before ((this registry-db) slots) 132(cl-defmethod initialize-instance :before ((this registry-db) slots)
133 "Check whether a registry object needs to be upgraded." 133 "Check whether a registry object needs to be upgraded."
@@ -178,7 +178,7 @@ Returns an alist of the key followed by the entry in a list, not a cons cell."
178(cl-defmethod registry-lookup-secondary ((db registry-db) tracksym 178(cl-defmethod registry-lookup-secondary ((db registry-db) tracksym
179 &optional create) 179 &optional create)
180 "Search for TRACKSYM in the registry-db THIS. 180 "Search for TRACKSYM in the registry-db THIS.
181When CREATE is not nil, create the secondary index hashtable if needed." 181When CREATE is not nil, create the secondary index hash table if needed."
182 (let ((h (gethash tracksym (oref db tracker)))) 182 (let ((h (gethash tracksym (oref db tracker))))
183 (if h 183 (if h
184 h 184 h
diff --git a/test/lisp/thingatpt-tests.el b/test/lisp/thingatpt-tests.el
index 9d72db40162..6d73d9001ae 100644
--- a/test/lisp/thingatpt-tests.el
+++ b/test/lisp/thingatpt-tests.el
@@ -84,7 +84,7 @@ position to retrieve THING.")
84 (goto-char (nth 1 test)) 84 (goto-char (nth 1 test))
85 (should (equal (thing-at-point (nth 2 test)) (nth 3 test)))))) 85 (should (equal (thing-at-point (nth 2 test)) (nth 3 test))))))
86 86
87;; These tests reflect the actual behaviour of 87;; These tests reflect the actual behavior of
88;; `thing-at-point-bounds-of-list-at-point'. 88;; `thing-at-point-bounds-of-list-at-point'.
89(ert-deftest thing-at-point-bug24627 () 89(ert-deftest thing-at-point-bug24627 ()
90 "Test for http://debbugs.gnu.org/24627 ." 90 "Test for http://debbugs.gnu.org/24627 ."