From: Pavel Kobiakov <pk_at_work@yahoo.com>
Cc: Stefan <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: Optimizations for flymake
Date: Tue, 2 Nov 2004 04:21:28 -0800 (PST) [thread overview]
Message-ID: <20041102122128.98913.qmail@web54101.mail.yahoo.com> (raw)
In-Reply-To: <x51xfcecxj.fsf@lola.goethe.zz>
--- David Kastrup <dak@gnu.org> wrote:
> storm@cua.dk (Kim F. Storm) writes:
>
> > Stefan <monnier@iro.umontreal.ca> writes:
> >
> >>> ! (defsubst flymake-makehash(&optional test)
> >>> ! (if (featurep 'xemacs)
> >>> ! (if test (make-hash-table :test test)
> (make-hash-table))
> >>> ! (makehash test)))
> >>
> >> Why not (if (fboundp 'make-hash-table) ...) ?
> >
> > Right, that's better.
>
> makehash is a compiled Lisp function in `subr'.
> (makehash &optional TEST)
>
> This function is obsolete since 21.4;
> use `make-hash-table' instead.
>
> Not documented.
>
> [back]
>
> In short, just rip out the test and always use
> make-hash-table.
>
> --
> David Kastrup, Kriemhildstr. 15, 44793 Bochum
>
Getting rid of makehash won't allow Flymake to run on
older versions of Emacs, so I think it's not a good
idea.
Pasha.
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
next prev parent reply other threads:[~2004-11-02 12:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-01 22:37 Optimizations for flymake Kim F. Storm
2004-11-02 0:17 ` Stefan
2004-11-02 9:10 ` Kim F. Storm
2004-11-02 10:57 ` David Kastrup
2004-11-02 12:21 ` Pavel Kobiakov [this message]
2004-11-02 12:34 ` David Kastrup
2004-11-02 15:48 ` Drew Adams
2004-11-03 12:45 ` Richard Stallman
2004-11-02 12:20 ` Stefan
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041102122128.98913.qmail@web54101.mail.yahoo.com \
--to=pk_at_work@yahoo.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.