* test/src/buffer-tests.el (test-overlay-multibyte-transition-1):
New test exposing a bug regarding overlays when changing the
multibyteness of a buffer.
(54 . 135)
(68 . 99))))))
+(ert-deftest test-overlay-multibyte-transition-1 ()
+ (with-temp-buffer
+ (set-buffer-multibyte t)
+ (insert "Ä")
+ (let ((ov (make-overlay (point-min) (point-max))))
+ (set-buffer-multibyte nil)
+ (should (eq (overlay-end ov) (point-max))))))
+
\f
;; +===================================================================================+
;; | Autogenerated insert/delete/narrow tests