summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2019-08-15 00:06:07 +0300
committerJuri Linkov <juri@linkov.net>2019-08-15 00:06:07 +0300
commitcad5418f18b496b0ec8f280201fb32cb39eefdfe (patch)
treeec7986999426559ff38cedd79c740e4a3320ff71
parent629068a89d1b2a7babbed7d3f5778834a970de16 (diff)
downloademacs-cad5418f18b496b0ec8f280201fb32cb39eefdfe.tar.gz
; Fix typoes.
-rw-r--r--doc/emacs/indent.texi6
-rw-r--r--lisp/progmodes/xref.el2
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/emacs/indent.texi b/doc/emacs/indent.texi
index 5f40acba151..654c64a7b2f 100644
--- a/doc/emacs/indent.texi
+++ b/doc/emacs/indent.texi
@@ -110,9 +110,9 @@ parentheses, or if the junction follows another newline.
If there is a fill prefix, @kbd{M-^} deletes the fill prefix if it
appears after the newline that is deleted. @xref{Fill Prefix}.
-With a prefix argument, join the current line line to the following
-line. If the region is active, and no prefix argument is given, join
-all lines in the region instead.
+With a prefix argument, join the current line to the following line.
+If the region is active, and no prefix argument is given, join all
+lines in the region instead.
@item C-M-\
@kindex C-M-\
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index 57d803894c8..ae35766ecdc 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -957,7 +957,7 @@ Accepts the same arguments as `xref-show-xrefs-function'."
nil nil nil
'xref--read-identifier-history def)))
(if (equal id "")
- (or def (user-error "There is no defailt identifier"))
+ (or def (user-error "There is no default identifier"))
id)))
(t def))))