all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* dired hook not working?
@ 2010-01-26  7:04 rustom
  2010-01-26  7:20 ` rustom
  0 siblings, 1 reply; 2+ messages in thread
From: rustom @ 2010-01-26  7:04 UTC (permalink / raw)
  To: help-gnu-emacs

I am trying to use the dired-sort options from dired-sort-menu+

If I put the below lines in my startup the hotkey S-mouse2
does not work (and the second print never shows up in messages though
the first does)
-----------
(print "Entering dired setup")
(defun my-dired-settings ()
  (print "Entering my-dired-settings")
  (require 'dired-sort-menu+))

(add-hook 'dired-load-hook 'my-dired-settings)
------------

However if I manually do eval-expression: (require 'dired-sort-menu+)
it works.
So either the hook is not working or I am not using it right.
Note I tried this with emacs 22 and 23
I also tried this with an inline lambda as well as my-dired-settings
-- none work


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

end of thread, other threads:[~2010-01-26  7:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-26  7:04 dired hook not working? rustom
2010-01-26  7:20 ` rustom

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.