]> code.delx.au - gnu-emacs/blobdiff - lisp/font-lock.el
Tweaks for getting repository version; a bit more like it was for bzr.
[gnu-emacs] / lisp / font-lock.el
index 96b290e34f4a7a8beb5f4d71db68c71798c631e5..b1455131114239cd5b81b0e9c7b33b3eb3e4f9a6 100644 (file)
@@ -1350,7 +1350,7 @@ delimit the region to fontify."
        deactivate-mark)
     ;; Make sure we have the right `font-lock-keywords' etc.
     (if (not font-lock-mode) (font-lock-set-defaults))
-    (save-excursion
+    (save-mark-and-excursion
       (save-match-data
        (condition-case error-data
            (if (or arg (not font-lock-mark-block-function))