From: keiichi Date: Thu, 23 Dec 1999 11:26:52 +0000 (+0000) Subject: (gnus-bbdb/update-record): Fix timing of `save-restriction'. X-Git-Tag: t-gnus-6_14_0-14~10 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=43728377e39c0abe5ff0aeab460c7c69eb000667;p=elisp%2Fgnus.git- (gnus-bbdb/update-record): Fix timing of `save-restriction'. --- diff --git a/lisp/gnus-bbdb.el b/lisp/gnus-bbdb.el index 6caef29..93da055 100644 --- a/lisp/gnus-bbdb.el +++ b/lisp/gnus-bbdb.el @@ -3,9 +3,9 @@ ;; Copyright (c) 1991,1992,1993 Jamie Zawinski . ;; Copyright (C) 1995,1996,1997 Shuhei KOBAYASHI ;; Copyright (C) 1997,1998 MORIOKA Tomohiko -;; Copyright (C) 1998 Keiichi Suzuki +;; Copyright (C) 1998 Keiichi Suzuki -;; Author: Keiichi Suzuki +;; Author: Keiichi Suzuki ;; Author: Shuhei KOBAYASHI ;; Keywords: BBDB, MIME, multimedia, multilingual, mail, news @@ -52,8 +52,8 @@ the user confirms the creation." (if bbdb-use-pop-up (gnus-bbdb/pop-up-bbdb-buffer offer-to-create) (save-excursion - (save-restriction - (let (from) + (let (from) + (save-restriction (set-buffer gnus-original-article-buffer) (widen) (narrow-to-region (point-min)