Skip to content

Commit 41e19f1

Browse files
skangasyantar92
authored andcommitted
; Fix typos
1 parent 381a2ae commit 41e19f1

File tree

9 files changed

+30
-30
lines changed

9 files changed

+30
-30
lines changed

lisp/org-element.el

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ is cleared and contents are removed in the process."
700700
;; DATUM is i.e. a headline, it's property list (`:title'
701701
;; in case of headline) can contain parsed objects. The
702702
;; objects will contain `:parent' property set to the DATUM
703-
;; iteself. When copied, these inner `:parent' propery
703+
;; itself. When copied, these inner `:parent' propery
704704
;; values will contain incorrect object decoupled from
705705
;; DATUM. Changes to the DATUM copy will not longer be
706706
;; reflected in the `:parent' properties. So, we need to
@@ -1289,7 +1289,7 @@ parser (e.g. `:end' and :END:). Return value is a plist."
12891289
(category (catch 'buffer-category
12901290
(unless org-element-org-data-parser--recurse
12911291
(org-with-point-at end
1292-
;; Avoid recusrive calls from
1292+
;; Avoid recursive calls from
12931293
;; `org-element-at-point-no-context'.
12941294
(let ((org-element-org-data-parser--recurse t))
12951295
(while (re-search-backward "^[ \t]*#\\+CATEGORY:" (point-min) t)
@@ -6092,7 +6092,7 @@ completing the request."
60926092
(log org-element--cache-size 2))
60936093
(org-element-cache-reset)
60946094
(throw 'org-element--cache-quit t)))
6095-
;; Done deleting everthing starting before END.
6095+
;; Done deleting everything starting before END.
60966096
;; DATA-KEY is the first known element after END.
60976097
;; Move on to phase 1.
60986098
(org-element--cache-log-message
@@ -6664,7 +6664,7 @@ The function returns the new value of `org-element--cache-change-warning'."
66646664
;; `org-element--cache-submit-request'). After the edit, we want to
66656665
;; look if there was a sensitive removed during edit.
66666666
;; FIXME: This is not the most efficient way and we now
6667-
;; have to delete more elemetns than needed in some
6667+
;; have to delete more elements than needed in some
66686668
;; cases. A better approach may be storing the warning
66696669
;; in the modification request itself.
66706670
(let ((org-element--cache-change-warning-before org-element--cache-change-warning)
@@ -6748,7 +6748,7 @@ that range. See `after-change-functions' for more information."
67486748
"This variable controls how buffer changes are handled by the cache.
67496749

67506750
By default (when this variable is nil), cache re-parses modified
6751-
headlines immidiately after modification preserving all the unaffected
6751+
headlines immediately after modification preserving all the unaffected
67526752
elements inside the headline.
67536753

67546754
The default behaviour works best when users types inside Org buffer of
@@ -6870,7 +6870,7 @@ known element in cache (it may start after END)."
68706870
;; costly. Instead, we should better re-parse only the
68716871
;; headline itself when possible. If a headline is still
68726872
;; starting from old :begin position, we do not care that
6873-
;; its boundaries could have extended to shrinked - we
6873+
;; its boundaries could have extended to shrunk - we
68746874
;; will re-parent and shift them anyway.
68756875
(and (eq 'headline (org-element-type up))
68766876
(not org-element--cache-avoid-synchronous-headline-re-parsing)
@@ -7154,7 +7154,7 @@ The element is: %S\n The real element is: %S\n Cache around :begin:\n%S\n%S\n%S"
71547154
(cdr (org-element--cache-find (org-element-property :begin real-element) 'both)))
71557155
(org-element-cache-reset))))))
71567156

7157-
;;; Cache persistance
7157+
;;; Cache persistence
71587158

71597159
(defun org-element--cache-persist-before-write (container &optional associated)
71607160
"Sync cache before saving."

lisp/org-fold-core.el

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
;; functions, it is important to keep in mind that 'invisible text
163163
;; property may have multiple possible values (not just nil and
164164
;; t). Hence, (next-single-char-property-change pos 'invisible) is not
165-
;; guarantied to return the boundary of invisible/visible text.
165+
;; guaranteed to return the boundary of invisible/visible text.
166166

167167
;;; Interactive searching inside folded text (via isearch)
168168

@@ -348,7 +348,7 @@ following symbols:
348348
used.
349349
350350
- `merge-folds': Do not distinguish between different types of folding
351-
specs. This is the most aggressive optimisation with unforseen and
351+
specs. This is the most aggressive optimisation with unforeseen and
352352
potentially drastic effects.")
353353
(put 'org-fold-core--optimise-for-huge-buffers 'safe-local-variable 'listp)
354354

@@ -1031,7 +1031,7 @@ TYPE can be either `text-properties' or `overlays'."
10311031
(org-fold-core-region (car region) (cdr region) nil)))
10321032

10331033
(defun org-fold-core--isearch-filter-predicate-text-properties (beg end)
1034-
"Make sure that folded text is searchable when user whant so.
1034+
"Make sure that folded text is searchable when user want so.
10351035
This function is intended to be used as `isearch-filter-predicate'."
10361036
(and
10371037
;; Check folding specs that cannot be searched
@@ -1096,7 +1096,7 @@ This is a hack, but I do not see a better way around until isearch
10961096
gets support of text properties.")
10971097
(defun org-fold-core--create-isearch-overlays (beg end)
10981098
"Replace text property invisibility spec by overlays between BEG and END.
1099-
All the searcheable folded regions will be changed to use overlays
1099+
All the searchable folded regions will be changed to use overlays
11001100
instead of text properties. The created overlays will be stored in
11011101
`org-fold-core--isearch-overlays'."
11021102
(let ((pos beg))
@@ -1346,7 +1346,7 @@ negative integer or 0, nil is returned."
13461346
;; ---- end of indirect buffer ----
13471347
;; If we copy the text under "Headline" from the indirect buffer and
13481348
;; insert it under "Another headline" in the base buffer, the inserted
1349-
;; text will be hidden since it's folding text properties are copyed.
1349+
;; text will be hidden since it's folding text properties are copied.
13501350
;; Basically, the copied text would have two sets of folding text
13511351
;; properties: (1) Properties for base buffer telling that the text is
13521352
;; hidden; (2) Properties for the indirect buffer telling that the

lisp/org-persist.el

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
;;; Commentary:
2424
;;
25-
;; This file implements persistant cache storage across Emacs sessions.
25+
;; This file implements persistent cache storage across Emacs sessions.
2626
;; Both global and buffer-local data can be stored. This
2727
;; implementation is not meant to be used to store important data -
2828
;; all the caches should be safe to remove at any time.
@@ -77,7 +77,7 @@
7777
;;
7878
;; Each data collection can be associated with a local or remote file,
7979
;; its inode number, or contents hash. The persistent data collection
80-
;; can later be accessed using either file bufer, file, inode, or
80+
;; can later be accessed using either file buffer, file, inode, or
8181
;; contents hash.
8282
;;
8383
;; The data collections can be versioned and removed upon expiry.
@@ -256,11 +256,11 @@ They keys are conses of (container . associated).")
256256
"Whether to report read/write time.
257257
258258
When the value is a number, it is a threshold number of seconds. If
259-
the read/write time of a single variable exceeds the threashold, a
259+
the read/write time of a single variable exceeds the threshold, a
260260
message is displayed.
261261
262262
When the value is a non-nil non-number, always display the message.
263-
When the value is nil, never diplay the message.")
263+
When the value is nil, never display the message.")
264264

265265
;;;; Common functions
266266

@@ -506,7 +506,7 @@ MISC, if non-nil will be appended to the collection."
506506
(defmacro org-persist-read:generic (container reference-data collection)
507507
"Read and return the data stored in CONTAINER.
508508
REFERENCE-DATA is associated with CONTAINER in the persist file.
509-
COLLECTION is the plist holding data collectin."
509+
COLLECTION is the plist holding data collection."
510510
`(let* ((c (org-persist--normalize-container ,container))
511511
(read-func-symbol (intern (format "org-persist-read:%s" (car c)))))
512512
(setf ,collection (plist-put ,collection :last-access (float-time)))
@@ -554,7 +554,7 @@ COLLECTION is the plist holding data collectin."
554554
(defmacro org-persist-load:generic (container reference-data collection)
555555
"Load the data stored in CONTAINER for side effects.
556556
REFERENCE-DATA is associated with CONTAINER in the persist file.
557-
COLLECTION is the plist holding data collectin."
557+
COLLECTION is the plist holding data collection."
558558
`(let* ((container (org-persist--normalize-container ,container))
559559
(load-func-symbol (intern (format "org-persist-load:%s" (car container)))))
560560
(setf ,collection (plist-put ,collection :last-access (float-time)))
@@ -912,7 +912,7 @@ Do nothing in an indirect buffer."
912912
(delete-directory (file-name-directory ,persist-file)))))
913913

914914
(defun org-persist-gc ()
915-
"Remove expired or unregisted containers.
915+
"Remove expired or unregistered containers.
916916
Also, remove containers associated with non-existing files."
917917
(unless (and org-persist-disable-when-emacs-Q
918918
;; FIXME: This is relying on undocumented fact that

lisp/org-src.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ See also `org-src-mode-hook'."
821821

822822
(defun org-src-associate-babel-session (info)
823823
"Associate edit buffer with comint session.
824-
INFO should be a list simlar in format to the return value of
824+
INFO should be a list similar in format to the return value of
825825
`org-babel-get-src-block-info'."
826826
(interactive)
827827
(let ((session (cdr (assq :session (nth 2 info)))))

lisp/org.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5086,7 +5086,7 @@ This includes angle, plain, and bracket links."
50865086
(progn
50875087
(add-face-text-property start end face-property)
50885088
(add-text-properties start end properties))
5089-
;; Initialise folding when used ouside org-mode.
5089+
;; Initialise folding when used outside org-mode.
50905090
(unless (or (derived-mode-p 'org-mode)
50915091
(and (org-fold-folding-spec-p 'org-link-description)
50925092
(org-fold-folding-spec-p 'org-link)))

lisp/ox-latex.el

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ The most comprehensive option can be set with,
997997
which causes source code to be run through
998998
`engrave-faces-latex-buffer', which generates colorings using
999999
Emacs' font-lock information. This requires the Emacs package
1000-
engrave-faces (availible from ELPA), and the LaTeX package
1000+
engrave-faces (available from ELPA), and the LaTeX package
10011001
fvextra be installed.
10021002

10031003
The styling of the engraved result can customised with
@@ -1222,7 +1222,7 @@ as long as it:
12221222
In the default value the colors \"EFD\" and \"EfD\" are provided
12231223
as they are respectively the foreground and background colours,
12241224
just in case they aren't provided by the generated preamble, so
1225-
we can asume they are always set.
1225+
we can assume they are always set.
12261226

12271227
Within this preamble there are two recognised macro-like placeholders:
12281228

@@ -1370,7 +1370,7 @@ which are given by `org-latex-engraved-preamble' and
13701370
(t (funcall gen-theme-spec engraved-theme))))
13711371
(funcall gen-theme-spec engraved-theme))
13721372
(message "Cannot engrave source blocks. Consider installing `engrave-faces'.")
1373-
"% WARNING syntax highlighting unavailible as engrave-faces-latex was missing.\n")
1373+
"% WARNING syntax highlighting unavailable as engrave-faces-latex was missing.\n")
13741374
"\n")
13751375
(concat
13761376
"\n% Setup for code blocks\n\n"
@@ -1750,7 +1750,7 @@ This is used to choose a separator for constructs like \\verb."
17501750
when (not (string-match (regexp-quote (char-to-string c)) s))
17511751
return (char-to-string c))))
17521752

1753-
(defun org-latex--make-option-string (options &optional seperator)
1753+
(defun org-latex--make-option-string (options &optional separator)
17541754
"Return a comma separated string of keywords and values.
17551755
OPTIONS is an alist where the key is the options keyword as
17561756
a string, and the value a list containing the keyword value, or
@@ -1767,7 +1767,7 @@ nil."
17671767
(format "{%s}" value)
17681768
value))))))
17691769
options
1770-
(or seperator ",")))
1770+
(or separator ",")))
17711771

17721772
(defun org-latex--wrap-label (element output info)
17731773
"Wrap label associated to ELEMENT around OUTPUT, if appropriate.
@@ -3475,7 +3475,7 @@ to the Verbatim environment or Verb command."
34753475
engraved-wrapped
34763476
"}")
34773477
engraved-wrapped))
3478-
(user-error "Cannot engrave code as `engrave-faces-latex' is unavailible.")))
3478+
(user-error "Cannot engrave code as `engrave-faces-latex' is unavailable.")))
34793479

34803480
(cl-defun org-latex-src-block--engraved
34813481
(&key src-block info lang caption caption-above-p num-start retain-labels attributes float &allow-other-keys)

lisp/ox-texinfo.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ using the `:findex' and `:kindex' properties.
687687
If PLAIN-LIST is a description list whose `:compact' attribute is
688688
non-nil and ITEM has no content but is followed by another item,
689689
then store the `@findex' and `@kindex' values in the next item.
690-
If the previous item stored its respecive values in this item,
690+
If the previous item stored its respective values in this item,
691691
then move them to the next item.
692692

693693
INFO is a plist used as a communication channel."

testing/lisp/test-org-element.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3769,7 +3769,7 @@ Text
37693769
(org-test-with-temp-text "* H\n"
37703770
(forward-line)
37713771
(or (org-element-at-point) t)))
3772-
;; Return greater element when ouside contents.
3772+
;; Return greater element when outside contents.
37733773
(should
37743774
(eq 'drawer
37753775
(org-test-with-temp-text

testing/lisp/test-ox-publish.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ removed from the final plist."
100100
(cl-remove-if #'file-directory-p
101101
(directory-files dir)))))))
102102

103-
;; Check the default trasformation function,
103+
;; Check the default transformation function,
104104
;; org-html-publish-to-html. Because org-test-publish uses
105105
;; org-publish-attachment by default, we must not just override with
106106
;; nil but tell it to remove the :publishing-function from the list.

0 commit comments

Comments
 (0)