[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
follow-mode arg should be optional
From: |
Robert Boyer |
Subject: |
follow-mode arg should be optional |
Date: |
Tue, 10 Jul 2007 04:52:59 -0500 (CDT) |
In follow.el, we read:
(defun follow-mode (arg) ...
Maybe that arg should be &optional, so that it is
possible to put follow-mode in the first line of a
file, with, e.g.,
-*- mode: follow; -*-
As it is now, I believe a wrong-number-of-arguments
error arises when the code that parses such first lines
tries to execute (follow-mode). The error is masked to
some extent, but still shows up in a part of my screen.
Thanks so much for Emacs. What a wondrous system --
one of the real seven wonders of the world. Forced to
choose between Emacs and, say, any pyramid, I'd take
Emacs.
Bob
In GNU Emacs 21.2.1 (powerpc-apple-darwin, X toolkit)
of 2006-03-22 on kodaira.local
configured using `configure powerpc-apple-darwin
--prefix=/sw --with-x --with-x-toolkit=lucid
--without-toolkit-scroll-bars --without-gif
'--infodir=${prefix}/share/info'
'--mandir=${prefix}/share/man'
'--libexecdir=${prefix}/lib''
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- follow-mode arg should be optional,
Robert Boyer <=