# HG changeset patch # User Stefan Monnier # Date 1120502827 0 # Node ID 2aeabf7911c95090739022f13f8a2de71f315405 # Parent 18a818a2ee7cfd507c5fd1bac66d0f9de9a428e9 (archive-lzh-ogm): Reorder save excursion/restriction. diff -r 18a818a2ee7c -r 2aeabf7911c9 lisp/arc-mode.el --- a/lisp/arc-mode.el Mon Jul 04 17:55:18 2005 +0000 +++ b/lisp/arc-mode.el Mon Jul 04 18:47:07 2005 +0000 @@ -679,8 +679,6 @@ ;; Archive mode is suitable only for specially formatted data. (put 'archive-mode 'mode-class 'special) -;; ------------------------------------------------------------------------- -;; Section: Key maps (let ((item1 '(archive-subfile-mode " Archive"))) (or (member item1 minor-mode-alist) @@ -1556,8 +1554,8 @@ (insert newhsize (archive-lzh-resum p newhsize)))))) (defun archive-lzh-ogm (newval files errtxt ofs) - (save-restriction - (save-excursion + (save-excursion + (save-restriction (widen) (set-buffer-multibyte nil) (dolist (fil files)