New answers tagged

0

I ended up fixing this in a completely different way. I overrode dired-find-file and dired-mouse-find-file, as follows ... (defun my-special-function () (interactive) (message "my special function") (sit-for 1) ) (defvar my-dired-advised nil "*my dired stuff is already advised") (defun my-dired-mode-hook () (unless my-dired-...


0

You replaced the binding for <mouse-1> with a binding to your command. That should be fine, but it's not a "remapping" (which is about commands or faces, not keys). Remapping a command is about doing something like this: (define-key dired-mode-map [remap dired-mouse-find-file-other-window] 'my-special-function) That remaps the keys bound to ...


Top 50 recent answers are included