emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: prog-mode not available in earlier Emacsen, need help with cfengine.


From: Stefan Monnier
Subject: Re: prog-mode not available in earlier Emacsen, need help with cfengine.el
Date: Tue, 22 Nov 2011 17:30:01 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]