]> code.delx.au - gnu-emacs/blobdiff - lisp/textmodes/tex-mode.el
Merge from origin/emacs-24
[gnu-emacs] / lisp / textmodes / tex-mode.el
index d54c78b683a28d33dee22f917c55a3a25baacd2e..12e7fda0f2ca0994559d7858413dd665e90c3949 100644 (file)
@@ -1304,7 +1304,7 @@ inserts \" characters."
   ;;
   (if (or arg (memq (char-syntax (preceding-char)) '(?/ ?\\))
           (eq (get-text-property (point) 'face) 'tex-verbatim)
-          ;; Discover if a preceding occurance of `tex-open-quote'
+          ;; Discover if a preceding occurrence of `tex-open-quote'
           ;; should be morphed to a normal double quote.
           ;;
           (and (>= (point) (+ (point-min) (length tex-open-quote)))
@@ -1321,7 +1321,7 @@ inserts \" characters."
       ;;
       (self-insert-command (prefix-numeric-value arg))
     ;; We'll be inserting fancy TeX quotes, but consider and imitate
-    ;; `electric-pair-mode''s two behaviours: pair-insertion and
+    ;; `electric-pair-mode''s two behaviors: pair-insertion and
     ;; region wrapping.
     ;;
     (if (and electric-pair-mode (use-region-p))