I'm using emacs 24.3 right now, so hash-table-values is not available. So I want to write the function, but only if it doesn't exist. This way, my code works right now, and it'll use the default function when I'll switch to emacs 24.4.
In PHP, I'd write something like:
if (!function_exists('hash_table_values')) {
function hash_table_values() {}
}
Is there some equivalent in elisp?
Thanks to some guidance on #emacs@freenode, here is the magic function:
fboundp.For the real implementation of
hash-table-values:Thanks to ergoemacs for the hash-table-values implementation.