From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.auctex.bugs Subject: Re: bug#23329: 11.89; Unloading tex-site doesn't restore original functionality Date: Fri, 22 Apr 2016 07:56:00 -0400 Message-ID: References: <18668.1461248711@localhost> <29887.1461307797@localhost> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461326239 3852 80.91.229.3 (22 Apr 2016 11:57:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Apr 2016 11:57:19 +0000 (UTC) Cc: bug-auctex@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 22 13:57:08 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1atZhs-0006hz-56 for ged-emacs-devel@m.gmane.org; Fri, 22 Apr 2016 13:57:08 +0200 Original-Received: from localhost ([::1]:60085 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atZhr-0006as-GL for ged-emacs-devel@m.gmane.org; Fri, 22 Apr 2016 07:57:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atZhG-0005rW-In for emacs-devel@gnu.org; Fri, 22 Apr 2016 07:56:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atZhD-0004Hv-97 for emacs-devel@gnu.org; Fri, 22 Apr 2016 07:56:30 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:40597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atZhD-0004Hd-2n for emacs-devel@gnu.org; Fri, 22 Apr 2016 07:56:27 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1atZhA-0006Ge-VT for emacs-devel@gnu.org; Fri, 22 Apr 2016 13:56:25 +0200 Original-Received: from 45.72.141.36 ([45.72.141.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Apr 2016 13:56:24 +0200 Original-Received: from monnier by 45.72.141.36 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Apr 2016 13:56:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 8 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 45.72.141.36 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:WB1oEUKjouPXM2L0AIYU2xSoDUs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:203169 gmane.emacs.auctex.bugs:3013 Archived-At: > I confirmed that the attached crude workaround makes unloading tex-site > to work as expected. Actually, can't the tex-site-unload-hook just always call (TeX-modes-set 'TeX-modes nil)? Stefan