From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: tex-mode.el
Date: Sat, 26 Feb 2005 09:16:57 -0600 (CST) [thread overview]
Message-ID: <200502261516.j1QFGvn28568@raven.dms.auburn.edu> (raw)
In-Reply-To: <01c51c15$Blat.v2.4$7cfd6780@zahav.net.il> (eliz@gnu.org)
Eli Zaretskii wrote:
When tex-mode.el from current CVS is compiled, it produces the
following warning:
In tex-mode:
tex-mode.el:818:8:Warning: function `tex-mode' defined multiple times in this
file
Is this okay?
There is the following comment:
(define-derived-mode tex-mode text-mode "generic-TeX"
(tex-common-initialization))
;; We now move the function and define it again. This gives a warning
;; in the byte-compiler :-( but it's difficult to avoid because
;; `define-derived-mode' will necessarily define the function once
;; and we need to define it a second time for `autoload' to get the
;; proper docstring.
(defalias 'tex-mode-internal (symbol-function 'tex-mode))
;;;###autoload
(defun tex-mode ()
Sincerely,
Luc.
next prev parent reply other threads:[~2005-02-26 15:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-26 15:10 tex-mode.el Eli Zaretskii
2005-02-26 15:16 ` Luc Teirlinck [this message]
2005-02-27 13:43 ` tex-mode.el Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2010-09-20 14:18 tex-mode.el Sean Sieger
2010-09-20 15:27 ` tex-mode.el Stefan Monnier
2010-09-20 15:48 ` tex-mode.el Sean Sieger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200502261516.j1QFGvn28568@raven.dms.auburn.edu \
--to=teirllm@dms.auburn.edu \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).