all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Symbol's function definition is void: dired-omit-mode
@ 2006-08-09 11:42 John J. Lee
  2006-08-09 11:52 ` Peter Dyballa
  0 siblings, 1 reply; 4+ messages in thread
From: John J. Lee @ 2006-08-09 11:42 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-08-09 12:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.5021.1155123811.9609.help-gnu-emacs@gnu.org>
2006-08-09 12:12 ` Symbol's function definition is void: dired-omit-mode Romain Francoise
2006-08-09 11:42 John J. Lee
2006-08-09 11:52 ` Peter Dyballa
2006-08-09 12:14   ` John J Lee

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.