help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Format of directories list in dired


From: Drew Adams
Subject: RE: Format of directories list in dired
Date: Mon, 6 Feb 2006 15:37:27 -0800

  Please send your dired-x.el in  sed.nivo [a_t_]  gmail [dot] com
  In my Emacs 'C-h k M-o' displayes
  M-o runs the command dired-omit-toggle
     which is an interactive compiled Lisp function in `dired-x'.
  (dired-omit-toggle &optional FLAG)
  .....

  I try '(dired-omit-mode 1)' , but
  Symbol's function definition is void: dired-omit-mode
  And '(dired-omit-toggle 1)' don't make any effect.

Sorry about that. In Emacs 22 it's `dired-omit-mode', and it works as I
described.

In your version of Emacs, see the Commentary of file dired-x.el, which says
this:

;; INSTALLATION: In your ~/.emacs,
;;
;; (add-hook 'dired-load-hook
;;           (function (lambda ()
;;                       (load "dired-x")
;;                       ;; Set global variables here.  For example:
;;                       ;; (setq dired-guess-shell-gnutar "gtar")
;;                       )))
;; (add-hook 'dired-mode-hook
;;           (function (lambda ()
;;                       ;; Set buffer-local variables here.  For example:
;;                       ;; (setq dired-omit-files-p t)
;;                       )))
;;
;; At load time dired-x.el will install itself, redefine some functions, and
;; bind some dired keys.  *Please* see the info pages for more details.

The question you are asking is answered by the second `add-hook': set
`dired-omit-files-p' to t.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]