Hi Kevin,
problem solved!
Why is the Dired buffer opened in a new frame? Is it because you're
using `C-x 5 d', or is some other customization coming into play
(e.g. special-display-buffer-names)?
Yes, some other customizations are used; it's an option the user has.
(defvar dired-other-frame-alist nil)
(defadvice dired-other-frame (around frame-alist activate)
Doesn't work for me, I suspect dired-other-frame is not used.
(add-hook 'after-make-frame-functions
This is getting closer! The working code is:
(add-hook 'after-make-frame-functions
(lambda (frame)
(select-frame frame)
(when (eq major-mode 'dired-mode)
(set-frame-font "fontset-monaco12"))))
Many thanks for setting me on the right track
-- David
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs