The challenge of upgrading from Emacs 21.2 to 23.2 continues... In my .emacs I have the very convenient:
(global-set-key (quote [f4]) (quote dired-omit-toggle))
It used to work since Emacs 18... but it no longer works in Emacs 23.2:
Lisp error: (void-function dired-omit-toggle)
Any idea how I can replace this functionality in Emacs 23.2?
EmacsWiki says:
To use this mode add the following to your InitFile.
(add-hook 'dired-load-hook (function (lambda () (load "dired-x"))))
and this is exactly what I have been having all these years. But Emacs 23.2 doesn't like this anymore. Any idea what could have replaced it in Emacs 23.2?