Browse Source

Fix typo: an headline -> a headline.

Bastien Guerry 7 years ago
parent
commit
8ee6c13c7f

+ 4 - 4
contrib/lisp/ox-groff.el

@@ -192,7 +192,7 @@ As an example, one could set the variable to the following, in
 order to reproduce the default set-up:
 
 \(defun org-groff-format-headline (todo todo-type priority text tags)
-  \"Default format function for an headline.\"
+  \"Default format function for a headline.\"
   \(concat (when todo
             \(format \"\\fB%s\\fP \" todo))
 	  \(when priority
@@ -935,7 +935,7 @@ CONTENTS is nil.  INFO is a plist holding contextual information."
 ;;; Headline
 
 (defun org-groff-headline (headline contents info)
-  "Transcode an HEADLINE element from Org to Groff.
+  "Transcode a HEADLINE element from Org to Groff.
 CONTENTS holds the contents of the headline.  INFO is a plist
 holding contextual information."
   (let* ((class (plist-get info :groff-class))
@@ -1275,7 +1275,7 @@ INFO is a plist holding contextual information.  See
           (format "\\fI [%s] \\fP"
                   (org-export-solidify-link-text path)))))
 
-     ;; Links pointing to an headline: find destination and build
+     ;; Links pointing to a headline: find destination and build
      ;; appropriate referencing command.
      ((member type '("custom-id" "fuzzy" "id"))
       (let ((destination (if (string= type "fuzzy")
@@ -1294,7 +1294,7 @@ INFO is a plist holding contextual information.  See
                         (org-element-property :raw-link link) info))))
           ;; Fuzzy link points to an invisible target.
           (keyword nil)
-          ;; LINK points to an headline.  If headlines are numbered
+          ;; LINK points to a headline.  If headlines are numbered
           ;; and the link has no description, display headline's
           ;; number.  Otherwise, display description or headline's
           ;; title.

+ 7 - 7
contrib/lisp/ox-taskjuggler.el

@@ -402,7 +402,7 @@ Return new string.  If S is the empty string, return it."
 
 (defun org-taskjuggler--build-attributes (item attributes)
   "Return attributes string for task, resource or report ITEM.
-ITEM is an headline.  ATTRIBUTES is a list of symbols
+ITEM is a headline.  ATTRIBUTES is a list of symbols
 representing valid attributes for ITEM."
   (mapconcat
    (lambda (attribute)
@@ -445,7 +445,7 @@ ID is a string."
 
 (defun org-taskjuggler-resolve-dependencies (task info)
   "Return a list of all tasks TASK depends on.
-TASK is an headline.  INFO is a plist used as a communication
+TASK is a headline.  INFO is a plist used as a communication
 channel."
   (let ((deps-ids
          ;; Get all dependencies specified in BLOCKER and DEPENDS task
@@ -486,7 +486,7 @@ channel."
 (defun org-taskjuggler-format-dependencies (dependencies task info)
   "Format DEPENDENCIES to match TaskJuggler syntax.
 DEPENDENCIES is list of dependencies for TASK, as returned by
-`org-taskjuggler-resolve-depedencies'.  TASK is an headline.
+`org-taskjuggler-resolve-depedencies'.  TASK is a headline.
 INFO is a plist used as a communication channel.  Return value
 doesn't include leading \"depends\"."
   (let ((dep-str (concat (org-element-property :BLOCKER task)
@@ -614,7 +614,7 @@ Return complete project plan as a string in TaskJuggler syntax."
 
 (defun org-taskjuggler--build-project (project info)
   "Return a project declaration.
-PROJECT is an headline.  INFO is a plist used as a communication
+PROJECT is a headline.  INFO is a plist used as a communication
 channel.  If no start date is specified, start today.  If no end
 date is specified, end `org-taskjuggler-default-project-duration'
 days from now."
@@ -634,7 +634,7 @@ days from now."
 (defun org-taskjuggler--build-resource (resource info)
   "Return a resource declaration.
 
-RESOURCE is an headline.  INFO is a plist used as a communication
+RESOURCE is a headline.  INFO is a plist used as a communication
 channel.
 
 All valid attributes from RESOURCE are inserted.  If RESOURCE
@@ -666,7 +666,7 @@ neither is defined a unique id will be associated to it."
 
 (defun org-taskjuggler--build-report (report)
   "Return a report declaration.
-REPORT is an headline.  INFO is a plist used as a communication
+REPORT is a headline.  INFO is a plist used as a communication
 channel."
   (concat
    ;; Opening report.
@@ -691,7 +691,7 @@ channel."
 (defun org-taskjuggler--build-task (task info)
   "Return a task declaration.
 
-TASK is an headline.  INFO is a plist used as a communication
+TASK is a headline.  INFO is a plist used as a communication
 channel.
 
 All valid attributes from TASK are inserted.  If TASK defines

+ 4 - 4
lisp/org-element.el

@@ -62,7 +62,7 @@
 ;; `table-cell', `target', `timestamp', `underline' and `verbatim'.
 ;;
 ;; Some elements also have special properties whose value can hold
-;; objects themselves (i.e. an item tag or an headline name).  Such
+;; objects themselves (i.e. an item tag or a headline name).  Such
 ;; values are called "secondary strings".  Any object belongs to
 ;; either an element or a secondary string.
 ;;
@@ -726,7 +726,7 @@ CONTENTS is the contents of the footnote-definition."
 ;;;; Headline
 
 (defun org-element-headline-parser (limit &optional raw-secondary-p)
-  "Parse an headline.
+  "Parse a headline.
 
 Return a list whose CAR is `headline' and CDR is a plist
 containing `:raw-value', `:title', `:begin', `:end',
@@ -4212,7 +4212,7 @@ Elements are accumulated into ACC."
 	      (not cbeg)))
 	 ;; Greater element: parse it between `contents-begin' and
 	 ;; `contents-end'.  Make sure GRANULARITY allows the
-	 ;; recursion, or ELEMENT is an headline, in which case going
+	 ;; recursion, or ELEMENT is a headline, in which case going
 	 ;; inside is mandatory, in order to get sub-level headings.
 	 ((and (memq type org-element-greater-elements)
 	       (or (memq granularity '(element object nil))
@@ -4604,7 +4604,7 @@ is always the element at point.  The following positions contain
 element's siblings, then parents, siblings of parents, until the
 first element of current section."
   (org-with-wide-buffer
-   ;; If at an headline, parse it.  It is the sole element that
+   ;; If at a headline, parse it.  It is the sole element that
    ;; doesn't require to know about context.  Be sure to disallow
    ;; secondary string parsing, though.
    (if (org-with-limited-levels (org-at-heading-p))

+ 2 - 2
lisp/org-indent.el

@@ -88,7 +88,7 @@ This is used locally in each buffer being initialized.")
 (defvar org-hide-leading-stars-before-indent-mode nil
   "Used locally.")
 (defvar org-indent-modified-headline-flag nil
-  "Non-nil means the last deletion operated on an headline.
+  "Non-nil means the last deletion operated on a headline.
 It is modified by `org-indent-notify-modified-headline'.")
 
 
@@ -412,7 +412,7 @@ range of inserted text.  DUMMY is an unused argument.
 This function is meant to be called by `after-change-functions'."
   (when org-indent-mode
     (save-match-data
-      ;; If an headline was modified or inserted, set properties until
+      ;; If a headline was modified or inserted, set properties until
       ;; next headline.
       (if (or org-indent-modified-headline-flag
 	      (save-excursion

+ 7 - 7
lisp/org.el

@@ -99,7 +99,7 @@ This is similar to `org-outline-regexp' but additionally makes
 sure that we are at the beginning of the line.")
 
 (defvar org-heading-regexp "^\\(\\*+\\)\\(?: +\\(.*?\\)\\)?[ \t]*$"
-  "Matches an headline, putting stars and text into groups.
+  "Matches a headline, putting stars and text into groups.
 Stars are put in group 1 and the trimmed body in group 2.")
 
 ;; Emacs 22 calendar compatibility:  Make sure the new variables are available
@@ -4704,13 +4704,13 @@ means to push this value onto the list in the variable.")
   "Regular expression for hiding blocks.")
 (defconst org-heading-keyword-regexp-format
   "^\\(\\*+\\)\\(?: +%s\\)\\(?: +\\(.*?\\)\\)?[ \t]*$"
-  "Printf format for a regexp matching an headline with some keyword.
+  "Printf format for a regexp matching a headline with some keyword.
 This regexp will match the headline of any node which has the
 exact keyword that is put into the format.  The keyword isn't in
 any group by default, but the stars and the body are.")
 (defconst org-heading-keyword-maybe-regexp-format
   "^\\(\\*+\\)\\(?: +%s\\)?\\(?: +\\(.*?\\)\\)?[ \t]*$"
-  "Printf format for a regexp matching an headline, possibly with some keyword.
+  "Printf format for a regexp matching a headline, possibly with some keyword.
 This regexp can match any headline with the specified keyword, or
 without a keyword.  The keyword isn't in any group by default,
 but the stars and the body are.")
@@ -13442,7 +13442,7 @@ a file becomes an N^2 operation - but with this variable set, it scales
 as N.")
 
 (defun org-scan-tags (action matcher todo-only &optional start-level)
-  "Scan headline tags with inheritance and produce output ACTION.
+  "Sca headline tags with inheritance and produce output ACTION.
 
 ACTION can be `sparse-tree' to produce a sparse tree in the current buffer,
 or `agenda' to produce an entry list for an agenda view.  It can also be
@@ -19978,7 +19978,7 @@ Calls `org-table-insert-hline', `org-toggle-item', or
   "Convert headings or normal lines to items, items to normal lines.
 If there is no active region, only the current line is considered.
 
-If the first non blank line in the region is an headline, convert
+If the first non blank line in the region is a headline, convert
 all headlines to items, shifting text accordingly.
 
 If it is an item, convert all items to normal lines.
@@ -20113,7 +20113,7 @@ point into heading.
 
 In a region:
 
-- If the first non blank line is an headline, remove the stars
+- If the first non blank line is a headline, remove the stars
   from all headlines in the region.
 
 - If it is a normal line turn each and every normal line (i.e. not an
@@ -22723,7 +22723,7 @@ Move to the previous element at the same level, when possible."
   (interactive)
   (cond ((bobp) (user-error "Cannot move further up"))
 	((org-with-limited-levels (org-at-heading-p))
-	 ;; At an headline, move to the previous one, if any, or stay
+	 ;; At a headline, move to the previous one, if any, or stay
 	 ;; here.
 	 (let ((origin (point)))
 	   (org-with-limited-levels (org-backward-heading-same-level 1))

+ 3 - 3
lisp/ox-ascii.el

@@ -734,7 +734,7 @@ generation.  INFO is a plist used as a communication channel."
 (defun org-ascii--unique-links (element info)
   "Return a list of unique link references in ELEMENT.
 
-ELEMENT is either an headline element or a section element.  INFO
+ELEMENT is either a headline element or a section element.  INFO
 is a plist used as a communication channel."
   (let* (seen
 	 (unique-link-p
@@ -1111,7 +1111,7 @@ CONTENTS is nil.  INFO is a plist holding contextual information."
 ;;;; Headline
 
 (defun org-ascii-headline (headline contents info)
-  "Transcode an HEADLINE element from Org to ASCII.
+  "Transcode a HEADLINE element from Org to ASCII.
 CONTENTS holds the contents of the headline.  INFO is a plist
 holding contextual information."
   ;; Don't export footnote section, which will be handled at the end
@@ -1763,7 +1763,7 @@ contextual information."
 ;;; Filters
 
 (defun org-ascii-filter-headline-blank-lines (headline back-end info)
-  "Filter controlling number of blank lines after an headline.
+  "Filter controlling number of blank lines after a headline.
 
 HEADLINE is a string representing a transcoded headline.
 BACK-END is symbol specifying back-end used for export.  INFO is

+ 6 - 6
lisp/ox-beamer.el

@@ -47,7 +47,7 @@
 ;;
 ;; - Headlines become frames when their level is equal to
 ;;   `org-beamer-frame-level' (or "H" value in the OPTIONS line).
-;;   Though, if an headline in the current tree has a "BEAMER_env"
+;;   Though, if a headline in the current tree has a "BEAMER_env"
 ;;   (see below) property set to either "frame" or "fullframe", its
 ;;   level overrides the variable.  A "fullframe" is a frame with an
 ;;   empty (ignored) title.
@@ -66,7 +66,7 @@
 ;;   a "BEAMER_ref" property is mandatory in order to refer to the
 ;;   frame being resumed, and contents are ignored.
 ;;
-;;   Also, an headline with an "ignoreheading" environment will have
+;;   Also, a headline with an "ignoreheading" environment will have
 ;;   its contents only inserted in the output.  This special value is
 ;;   useful to have data between frames, or to properly close
 ;;   a "column" environment.
@@ -128,7 +128,7 @@ Headlines at a lower level will be translated into a sectioning
 structure.  At a higher level, they will be translated into
 blocks.
 
-If an headline with a \"BEAMER_env\" property set to \"frame\" is
+If a headline with a \"BEAMER_env\" property set to \"frame\" is
 found within a tree, its level locally overrides this number.
 
 This variable has no effect on headlines with the \"BEAMER_env\"
@@ -136,7 +136,7 @@ property set to either \"ignoreheading\", \"appendix\", or
 \"note\", which will respectively, be invisible, become an
 appendix or a note.
 
-This integer is relative to the minimal level of an headline
+This integer is relative to the minimal level of a headline
 within the parse tree, defined as 1."
   :group 'org-export-beamer
   :type 'integer)
@@ -357,10 +357,10 @@ channel."
 
 ;;;; Headline
 ;;
-;; The main function to translate an headline is
+;; The main function to translate a headline is
 ;; `org-beamer-headline'.
 ;;
-;; Depending on the level at which an headline is considered as
+;; Depending on the level at which a headline is considered as
 ;; a frame (given by `org-beamer--frame-level'), the headline is
 ;; either a section (`org-beamer--format-section'), a frame
 ;; (`org-beamer--format-frame') or a block

+ 5 - 5
lisp/ox-html.el

@@ -365,7 +365,7 @@ As an example, one could set the variable to the following, in
 order to reproduce the default set-up:
 
 \(defun org-html-format-headline \(todo todo-type priority text tags)
-  \"Default format function for an headline.\"
+  \"Default format function for a headline.\"
   \(concat \(when todo
             \(format \"\\\\textbf{\\\\textsc{\\\\textsf{%s}}} \" todo))
 	  \(when priority
@@ -1752,7 +1752,7 @@ CONTENTS is nil.  INFO is a plist holding contextual information."
 (defun org-html-format-headline--wrap (headline info
 						  &optional format-function
 						  &rest extra-keys)
-  "Transcode an HEADLINE element from Org to HTML.
+  "Transcode a HEADLINE element from Org to HTML.
 CONTENTS holds the contents of the headline.  INFO is a plist
 holding contextual information."
   (let* ((level (+ (org-export-get-relative-level headline info)
@@ -1789,7 +1789,7 @@ holding contextual information."
     	   :section-number section-number extra-keys)))
 
 (defun org-html-headline (headline contents info)
-  "Transcode an HEADLINE element from Org to HTML.
+  "Transcode a HEADLINE element from Org to HTML.
 CONTENTS holds the contents of the headline.  INFO is a plist
 holding contextual information."
   ;; Empty contents?
@@ -2221,7 +2221,7 @@ INFO is a plist holding contextual information.  See
 		  (org-export-solidify-link-text path)
 		  attributes
 		  (org-export-data (org-element-contents destination) info)))))
-     ;; Links pointing to an headline: Find destination and build
+     ;; Links pointing to a headline: Find destination and build
      ;; appropriate referencing command.
      ((member type '("custom-id" "fuzzy" "id"))
       (let ((destination (if (string= type "fuzzy")
@@ -2244,7 +2244,7 @@ INFO is a plist holding contextual information.  See
 			(org-element-property :raw-link link) info))))
 	  ;; Fuzzy link points to an invisible target.
 	  (keyword nil)
-	  ;; Link points to an headline.
+	  ;; Link points to a headline.
 	  (headline
 	   (let ((href
 		  ;; What href to use?

+ 10 - 10
lisp/ox-icalendar.el

@@ -309,7 +309,7 @@ a message if the file was modified."
 
 INFO is a plist used as a communication channel.
 
-An headline is blocked when either:
+a headline is blocked when either:
 
   - It has children which are not all in a completed state.
 
@@ -406,7 +406,7 @@ This is mandatory for \"DTSTAMP\" property."
 
 (defun org-icalendar-get-categories (entry info)
   "Return categories according to `org-icalendar-categories'.
-ENTRY is an headline or an inlinetask element.  INFO is a plist
+ENTRY is a headline or an inlinetask element.  INFO is a plist
 used as a communication channel."
   (mapconcat
    'identity
@@ -494,7 +494,7 @@ BACK-END and INFO are ignored."
 ;;;; Headline and Inlinetasks
 
 ;; The main function is `org-icalendar-entry', which extracts
-;; information from an headline or an inlinetask (summary,
+;; information from a headline or an inlinetask (summary,
 ;; description...) and then delegates code generation to
 ;; `org-icalendar--vtodo' and `org-icalendar--vevent', depending
 ;; on the component needed.
@@ -505,7 +505,7 @@ BACK-END and INFO are ignored."
 (defun org-icalendar-entry (entry contents info)
   "Transcode ENTRY element into iCalendar format.
 
-ENTRY is either an headline or an inlinetask.  CONTENTS is
+ENTRY is either a headline or an inlinetask.  CONTENTS is
 ignored.  INFO is a plist used as a communication channel.
 
 This function is called on every headline, the section below
@@ -516,7 +516,7 @@ inlinetask within the section."
   (unless (org-element-property :footnote-section-p entry)
     (let* ((type (org-element-type entry))
 	   ;; Determine contents really associated to the entry.  For
-	   ;; an headline, limit them to section, if any.  For an
+	   ;; a headline, limit them to section, if any.  For an
 	   ;; inlinetask, this is every element within the task.
 	   (inside
 	    (if (eq type 'inlinetask)
@@ -569,7 +569,7 @@ inlinetask within the section."
 		   (org-icalendar--vevent
 		    entry scheduled (concat "SC-" uid)
 		    (concat "S: " summary) loc desc cat)))
-	    ;; When collecting plain timestamps from an headline and
+	    ;; When collecting plain timestamps from a headline and
 	    ;; its title, skip inlinetasks since collection will
 	    ;; happen once ENTRY is one of them.
 	    (let ((counter 0))
@@ -597,7 +597,7 @@ inlinetask within the section."
 	      (org-icalendar--vtodo entry uid summary loc desc cat))
 	    ;; Diary-sexp: Collect every diary-sexp element within
 	    ;; ENTRY and its title, and transcode them.  If ENTRY is
-	    ;; an headline, skip inlinetasks: they will be handled
+	    ;; a headline, skip inlinetasks: they will be handled
 	    ;; separately.
 	    (when org-icalendar-include-sexps
 	      (let ((counter 0))
@@ -613,7 +613,7 @@ inlinetask within the section."
 				summary))
 			     info nil (and (eq type 'headline) 'inlinetask))
 			   ""))))))
-       ;; If ENTRY is an headline, call current function on every
+       ;; If ENTRY is a headline, call current function on every
        ;; inlinetask within it.  In agenda export, this is independent
        ;; from the mark (or lack thereof) on the entry.
        (when (eq type 'headline)
@@ -628,7 +628,7 @@ inlinetask within the section."
   (entry timestamp uid summary location description categories)
   "Create a VEVENT component.
 
-ENTRY is either an headline or an inlinetask element.  TIMESTAMP
+ENTRY is either a headline or an inlinetask element.  TIMESTAMP
 is a timestamp object defining the date-time of the event.  UID
 is the unique identifier for the event.  SUMMARY defines a short
 summary or subject for the event.  LOCATION defines the intended
@@ -666,7 +666,7 @@ Return VEVENT component as a string."
   (entry uid summary location description categories)
   "Create a VTODO component.
 
-ENTRY is either an headline or an inlinetask element.  UID is the
+ENTRY is either a headline or an inlinetask element.  UID is the
 unique identifier for the task.  SUMMARY defines a short summary
 or subject for the task.  LOCATION defines the intended venue for
 the task.  DESCRIPTION provides the complete description of the

+ 1 - 1
lisp/ox-man.el

@@ -451,7 +451,7 @@ CONTENTS is nil.  INFO is a plist holding contextual information."
 ;;; Headline
 
 (defun org-man-headline (headline contents info)
-  "Transcode an HEADLINE element from Org to Man.
+  "Transcode a HEADLINE element from Org to Man.
 CONTENTS holds the contents of the headline.  INFO is a plist
 holding contextual information."
   (let* ((level (org-export-get-relative-level headline info))

+ 1 - 1
lisp/ox-md.el

@@ -177,7 +177,7 @@ a communication channel."
 	   ;; Headline text without tags.
 	   (heading (concat todo priority title)))
       (cond
-       ;; Cannot create an headline.  Fall-back to a list.
+       ;; Cannot create a headline.  Fall-back to a list.
        ((or (org-export-low-level-p headline info)
 	    (not (memq org-md-headline-style '(atx setext)))
 	    (and (eq org-md-headline-style 'atx) (> level 6))

+ 4 - 4
lisp/ox-odt.el

@@ -1782,7 +1782,7 @@ CONTENTS is nil.  INFO is a plist holding contextual information."
 (defun org-odt-format-headline--wrap (headline translations info
 						 &optional format-function
 						 &rest extra-keys)
-  "Transcode an HEADLINE element from Org to ODT.
+  "Transcode a HEADLINE element from Org to ODT.
 CONTENTS holds the contents of the headline.  INFO is a plist
 holding contextual information."
   (setq translations (or translations (plist-get info :translate-alist)))
@@ -1819,7 +1819,7 @@ holding contextual information."
 	   :section-number section-number extra-keys)))
 
 (defun org-odt-headline (headline contents info)
-  "Transcode an HEADLINE element from Org to ODT.
+  "Transcode a HEADLINE element from Org to ODT.
 CONTENTS holds the contents of the headline.  INFO is a plist
 holding contextual information."
   ;; Case 1: This is a footnote section: ignore it.
@@ -2757,7 +2757,7 @@ INFO is a plist holding contextual information.  See
 	    (format
 	     "<text:bookmark-ref text:reference-format=\"text\" text:ref-name=\"OrgXref.%s\">%s</text:bookmark-ref>"
 	     href desc)))))
-     ;; Links pointing to an headline: Find destination and build
+     ;; Links pointing to a headline: Find destination and build
      ;; appropriate referencing command.
      ((member type '("custom-id" "fuzzy" "id"))
       (let* ((destination (if (string= type "fuzzy")
@@ -2772,7 +2772,7 @@ INFO is a plist holding contextual information.  See
 					 :raw-link link) info))))
 	 ;; Case 2: Fuzzy link points to an invisible target.  Strip it.
 	 (when (eq (org-element-type destination) 'keyword) "")
-	 ;; Case 3: LINK points to an headline.
+	 ;; Case 3: LINK points to a headline.
 	 (when (eq (org-element-type destination) 'headline)
 	   ;; Case 3.1: LINK has a custom description that is
 	   ;; different from headline's title.  Create a hyperlink.

+ 5 - 5
lisp/ox-texinfo.el

@@ -210,7 +210,7 @@ As an example, one could set the variable to the following, in
 order to reproduce the default set-up:
 
 \(defun org-texinfo-format-headline (todo todo-type priority text tags)
-  \"Default format function for an headline.\"
+  \"Default format function for a headline.\"
   \(concat (when todo
             \(format \"\\\\textbf{\\\\textsc{\\\\textsf{%s}}} \" todo))
 	  \(when priority
@@ -898,7 +898,7 @@ plist holding contextual information."
 ;;; Headline
 
 (defun org-texinfo-headline (headline contents info)
-  "Transcode an HEADLINE element from Org to Texinfo.
+  "Transcode a HEADLINE element from Org to Texinfo.
 CONTENTS holds the contents of the headline.  INFO is a plist
 holding contextual information."
   (let* ((class (plist-get info :texinfo-class))
@@ -1169,7 +1169,7 @@ INFO is a plist holding contextual information.  See
 		      (concat text (if desc (concat "," desc))))))
 	 protocol)
     (cond
-     ;; Links pointing to an headline: Find destination and build
+     ;; Links pointing to a headline: Find destination and build
      ;; appropriate referencing command.
      ((member type '("custom-id" "id"))
       (let ((destination (org-export-resolve-id-link link info)))
@@ -1178,7 +1178,7 @@ INFO is a plist holding contextual information.  See
 	  (plain-text
 	   (if desc (format "@uref{file://%s,%s}" destination desc)
 	     (format "@uref{file://%s}" destination)))
-	  ;; LINK points to an headline.  Use the headline as the NODE target
+	  ;; LINK points to a headline.  Use the headline as the NODE target
 	  (headline
 	   (format "@ref{%s,%s}"
 		   (org-texinfo--get-node destination info)
@@ -1200,7 +1200,7 @@ INFO is a plist holding contextual information.  See
 	  (plain-text
 	   (if desc (format "@uref{file://%s,%s}" destination desc)
 	     (format "@uref{file://%s}" destination)))
-	  ;; LINK points to an headline.  Use the headline as the NODE target
+	  ;; LINK points to a headline.  Use the headline as the NODE target
 	  (headline
 	   (format "@ref{%s,%s}"
 		   (org-texinfo--get-node destination info)

+ 10 - 10
lisp/ox.el

@@ -150,7 +150,7 @@ like (KEYWORD OPTION DEFAULT BEHAVIOUR) where:
 
 KEYWORD is a string representing a buffer keyword, or nil.  Each
   property defined this way can also be set, during subtree
-  export, through an headline property named after the keyword
+  export, through a headline property named after the keyword
   with the \"EXPORT_\" prefix (i.e. DATE keyword and EXPORT_DATE
   property).
 OPTION is a string that could be found in an #+OPTIONS: line.
@@ -1476,7 +1476,7 @@ specific items to read, if any."
   "Get export options in subtree at point.
 Optional argument BACKEND is a symbol specifying back-end used
 for export.  Return options as a plist."
-  ;; For each buffer keyword, create an headline property setting the
+  ;; For each buffer keyword, create a headline property setting the
   ;; same property in communication channel. The name for the property
   ;; is the keyword with "EXPORT_" appended to it.
   (org-with-wide-buffer
@@ -1724,7 +1724,7 @@ Following tree properties are set or updated:
                    original buffer and current parse tree.
 
 `:headline-offset' Offset between true level of headlines and
-		   local level.  An offset of -1 means an headline
+		   local level.  An offset of -1 means a headline
 		   of level 2 should be considered as a level
 		   1 headline in the context.
 
@@ -1795,7 +1795,7 @@ OPTIONS is a plist holding export options."
 DATA is the parse tree.  OPTIONS is the plist holding export
 options.
 
-Return an alist whose key is an headline and value is its
+Return an alist whose key is a headline and value is its
 associated numbering \(in the shape of a list of numbers\) or nil
 for a footnotes section."
   (let ((numbering (make-vector org-export-max-depth 0)))
@@ -2674,7 +2674,7 @@ Return the updated communication channel."
 ;; `org-export-expand-include-keyword' and
 ;; `org-export--prepare-file-contents'.  Structure wise, including
 ;; a whole Org file in a buffer often makes little sense.  For
-;; example, if the file contains an headline and the include keyword
+;; example, if the file contains a headline and the include keyword
 ;; was within an item, the item should contain the headline.  That's
 ;; why file inclusion should be done before any structure can be
 ;; associated to the file, that is before parsing.
@@ -3265,7 +3265,7 @@ applied."
 ;;
 ;; `org-export-collect-footnote-definitions' is a tool to list
 ;; actually used footnotes definitions in the whole parse tree, or in
-;; an headline, in order to add footnote listings throughout the
+;; a headline, in order to add footnote listings throughout the
 ;; transcoded data.
 ;;
 ;; `org-export-footnote-first-reference-p' is a predicate used by some
@@ -3682,7 +3682,7 @@ significant."
 		(if match-title-p (substring raw-path 1) raw-path))))
     (cond
      ;; First try to find a matching "<<path>>" unless user specified
-     ;; he was looking for an headline (path starts with a *
+     ;; he was looking for a headline (path starts with a *
      ;; character).
      ((and (not match-title-p)
 	   (org-element-map (plist-get info :parse-tree) '(keyword target)
@@ -3702,7 +3702,7 @@ significant."
 	       (let ((name (org-element-property :name el)))
 		 (when (and name (equal (org-split-string name) path)) el)))
 	     info 'first-match)))
-     ;; Last case: link either points to an headline or to
+     ;; Last case: link either points to a headline or to
      ;; nothingness.  Try to find the source, with priority given to
      ;; headlines with the closest common ancestor.  If such candidate
      ;; is found, return it, otherwise return nil.
@@ -3790,7 +3790,7 @@ accepts two arguments: the element or object being considered and
 the plist used as a communication channel.  This allows to count
 only a certain type of objects (i.e. inline images).
 
-Return value is a list of numbers if ELEMENT is an headline or an
+Return value is a list of numbers if ELEMENT is a headline or an
 item.  It is nil for keywords.  It represents the footnote number
 for footnote definitions and footnote references.  If ELEMENT is
 a target, return the same value as if ELEMENT was the closest
@@ -3812,7 +3812,7 @@ objects of the same type."
                                          table))
 		  return parent)))
     (case (org-element-type element)
-      ;; Special case 1: An headline returns its number as a list.
+      ;; Special case 1: A headline returns its number as a list.
       (headline (org-export-get-headline-number element info))
       ;; Special case 2: An item returns its number as a list.
       (item (let ((struct (org-element-property :structure element)))