From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72972 Path: news.gmane.org!not-for-mail From: NAKAJI Hiroyuki Newsgroups: gmane.emacs.gnus.general Subject: Re: void-function gnus-make-local-hook Date: Tue, 12 Oct 2010 10:12:34 +0900 Message-ID: <8662x8uscd.fsf@jimmy.4407.kankyo-u.ac.jp> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286846739 21885 80.91.229.12 (12 Oct 2010 01:25:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Oct 2010 01:25:39 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21344@lists.math.uh.edu Tue Oct 12 03:25:38 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P5TcX-0003fO-54 for ding-account@gmane.org; Tue, 12 Oct 2010 03:25:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1P5Tbn-0006JJ-6u; Mon, 11 Oct 2010 20:24:51 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P5Tbl-0006Iz-LK for ding@lists.math.uh.edu; Mon, 11 Oct 2010 20:24:49 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P5Tbj-0006f0-1c for ding@lists.math.uh.edu; Mon, 11 Oct 2010 20:24:49 -0500 Original-Received: from d4407.kankyo-u.ac.jp ([202.216.78.81]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P5Tbh-0002nX-00 for ; Tue, 12 Oct 2010 03:24:46 +0200 X-Virus-Scanned: amavisd-new at d4407.kankyo-u.ac.jp Original-Received: from jimmy.4407.kankyo-u.ac.jp.kankyo-u.ac.jp (localhost [IPv6:::1]) by d4407.kankyo-u.ac.jp (8.14.4/8.14.4) with ESMTP id o9C1CYr2032317 for ; Tue, 12 Oct 2010 10:12:35 +0900 (JST) (envelope-from nakaji@jp.freebsd.org) In-Reply-To: (Katsumi Yamaoka's message of "Fri, 08 Oct 2010 16:01:57 +0900") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (berkeley-unix) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72972 Archived-At: >>>>> In >>>>> Katsumi Yamaoka wrote: > NAKAJI Hiroyuki wrote: > > I updated Emacs trunk and Gnus CVS head, and got an error, when > > starting Gnus. > > Debugger entered--Lisp error: (void-function gnus-make-local-hook) > [...] > Weird. It's been existing in gnus-util.el for all the time > because this function is necessary for XEmacs 21.4: > (defalias 'gnus-make-local-hook (if (featurep 'xemacs) > 'make-local-hook > 'ignore)) Oops. My Gnus CVS tree is about half year old. In my gnus-util.el got by 'cvs update -dP', it is: ;; The LOCAL arg to `add-hook' is interpreted differently in Emacs and ;; XEmacs. In Emacs we don't need to call `make-local-hook' first. ;; It's harmless, though, so the main purpose of this alias is to shut ;; up the byte compiler. (defalias 'gnus-make-local-hook (if (eq (get 'make-local-hook 'byte-compile) 'byte-compile-obsolete) 'ignore ; Emacs 'make-local-hook)) ; XEmacs And, I don't know why, this returns "make-local-hook". Retrieved gnus.git trunk and all work well. Thanks! -- NAKAJI Hiroyuki