From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: About `unload-feature' Date: Wed, 02 Jan 2013 03:23:41 +0400 Message-ID: <878v8c32te.fsf@yandex.ru> References: <20130102063146.c312c58395fceffea990bfb2@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1357082636 17425 80.91.229.3 (1 Jan 2013 23:23:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Jan 2013 23:23:56 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Xue Fuqiao Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 02 00:24:10 2013 Return-path: Envelope-to: geh-help-gnu-emacs@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 1TqBBq-0000wG-9O for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Jan 2013 00:24:10 +0100 Original-Received: from localhost ([::1]:41244 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqBBb-00057j-8H for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Jan 2013 18:23:55 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqBBS-00057Z-AG for help-gnu-emacs@gnu.org; Tue, 01 Jan 2013 18:23:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqBBK-0003oh-Eg for help-gnu-emacs@gnu.org; Tue, 01 Jan 2013 18:23:46 -0500 Original-Received: from mail-la0-f44.google.com ([209.85.215.44]:48561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqBBK-0003oD-6C for help-gnu-emacs@gnu.org; Tue, 01 Jan 2013 18:23:38 -0500 Original-Received: by mail-la0-f44.google.com with SMTP id fr10so5326934lab.31 for ; Tue, 01 Jan 2013 15:23:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=RLSidA6rXjwoyB5xVOqDHzP5wgQ7uC3ubiM1qlv926c=; b=S73yjBLaj0jdA0LdI16f+e1LMWVRtL6owM2LGkPcJF4V4aWBBRGfemrGgyUn/SAHIv u6MBg+8bANqhyPtrkp3MBLKT6HtRJA4jNMC2/pKA2g0zcNkKf0cqq8a7le1ZhZiCNw16 E3YaQNgLAqvQVlJ4jTv4GhZ3uPFif4VkXbCLb+LkGniLabD5VzXZs9e4GkMpixOmqlmi 1hmrJ/377Y5OqF6RFD664hwpvEMkkdol8fpvqj3Vv5e9FAtp5fSLwkqs/LrtJ1hORrBf STG7zKJwgN8gEqVUCo1ORnTubSueLtlvJb1daivdazlCJ2nPKpTaubm1ZaZq5yJ0uin4 i76w== X-Received: by 10.112.103.135 with SMTP id fw7mr18013427lbb.17.1357082617150; Tue, 01 Jan 2013 15:23:37 -0800 (PST) Original-Received: from SOL ([178.252.98.87]) by mx.google.com with ESMTPS id fv12sm16847062lab.12.2013.01.01.15.23.35 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 Jan 2013 15:23:36 -0800 (PST) In-Reply-To: <20130102063146.c312c58395fceffea990bfb2@gmail.com> (Xue Fuqiao's message of "Wed, 2 Jan 2013 06:31:46 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.215.44 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88385 Archived-At: Xue Fuqiao writes: > (info "(elisp) Unloading") says: > > Before restoring the previous definitions, `unload-feature' runs `remove-hook' > to remove functions in the library from certain hooks. These hooks include > variables whose names end in `-hook' (or the deprecated suffix `-hooks'), plus > those listed in `unload-feature-special-hooks', as well as `auto-mode-alist'. > This is to prevent Emacs from ceasing to function because important hooks refer > to functions that are no longer defined. > > What does `ceasing to function' mean? Can anybody help? Thanks. Looks like a hyperbole. It would still function, but signal [lots of] "function is undefined" errors.