[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Optimizations for flymake
From: |
David Kastrup |
Subject: |
Re: Optimizations for flymake |
Date: |
Tue, 02 Nov 2004 11:57:12 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
address@hidden (Kim F. Storm) writes:
> Stefan <address@hidden> 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