[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Symbol's function definition is void: dired-omit-mode
From: |
John J. Lee |
Subject: |
Symbol's function definition is void: dired-omit-mode |
Date: |
Wed, 09 Aug 2006 12:42:57 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
Switching to emacs 22 recently, I'm getting this when using C-x d to
visit a directory using dired-x.
Symbol's function definition is void: dired-omit-mode
The emacs 22 info pages seem quite clear that what I'm doing should
work -- in fact, I copied my dired-mode-hook code straight from the
info pages. Here's the relevant chunk from my .emacs:
(add-hook 'dired-load-hook
(function (lambda ()
(load "dired-x")
(setq dired-omit-files
(concat dired-omit-files "\\|^CVS$\\|^.cvsignore$"))
(setq dired-omit-files
(concat dired-omit-files "\\|\\.pyc$\\|\\.pyo$|\\.pyw$"))
(setq dired-omit-files
(concat dired-omit-files
"\\|\\.o$\\|\\.so\\|\\.a\\|\\.lo\\|\\.la$"))
)))
(add-hook 'dired-mode-hook
(lambda ()
;; Set dired-x buffer-local variables here. For example:
(dired-omit-mode 1)
))
Help!
John
- Symbol's function definition is void: dired-omit-mode,
John J. Lee <=