From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: prog-mode not available in earlier Emacsen, need help with cfengine.el Date: Tue, 22 Nov 2011 17:30:01 -0500 Message-ID: References: <87ipmcgjot.fsf@lifelogs.com> <83lir89gne.fsf@gnu.org> <87aa7ogfo3.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1322001013 31430 80.91.229.12 (22 Nov 2011 22:30:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Nov 2011 22:30:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 22 23:30:08 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RSyqu-0002Yq-6q for ged-emacs-devel@m.gmane.org; Tue, 22 Nov 2011 23:30:08 +0100 Original-Received: from localhost ([::1]:50902 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSyqt-0000kH-Qc for ged-emacs-devel@m.gmane.org; Tue, 22 Nov 2011 17:30:07 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSyqq-0000hA-VK for emacs-devel@gnu.org; Tue, 22 Nov 2011 17:30:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSyqp-0002MB-N2 for emacs-devel@gnu.org; Tue, 22 Nov 2011 17:30:04 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:36171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSyqp-0002Kv-EW for emacs-devel@gnu.org; Tue, 22 Nov 2011 17:30:03 -0500 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id pAMMU1D5001546; Tue, 22 Nov 2011 17:30:01 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 98ED8B4043; Tue, 22 Nov 2011 17:30:01 -0500 (EST) In-Reply-To: <87aa7ogfo3.fsf@lifelogs.com> (Ted Zlatanov's message of "Tue, 22 Nov 2011 13:45:00 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4049=0 X-NAI-Spam-Version: 2.2.0.9286 : core <4049> : streams <703897> : uri <1013451> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146162 Archived-At: > That's a good way, but I don't know if the maintainers would mind, and Which maintainers? > if it would cause autoload/compilation issues. Do I have to wrap it all > in `eval-when-compile'? I think that (unless (fboundp 'prog-mode) (defalias 'prog-mode 'fundamental-mode)) should do the trick. Stefan