[OS X Emacs] Merge All Frames from Preferences.el

Cuauhtémoc Salazar temok.mx at gmail.com
Fri Jun 7 08:38:15 EDT 2019

Thank you David,

I tried your suggestion, adding your code at the end of my Preferences.el but unfortunately Aquamacs still opens each file on different frames.
The complete Preferences.el is below.

I also have a non-empty ~/.emacs file, as I also use console-mode Emacs for quick editing. Does ~/.emacs affect Aquamacs?

Thank you,

;; ========================
;; ELPY  https://github.com/jorgenschaefer/elpy

;; ========================
;; https://www.emacswiki.org/emacs/FlySpell
    (dolist (hook '(text-mode-hook))
      (add-hook hook (lambda () (flyspell-mode 1))))
    (dolist (hook '(change-log-mode-hook log-edit-mode-hook))
      (add-hook hook (lambda () (flyspell-mode -1))))

;; ========================
;; https://www.emacswiki.org/emacs/ExecPath
(setenv "PATH" (concat (getenv "PATH") ":/sw/bin"))
(setq exec-path (append exec-path '("/sw/bin")))

;; ========================
(setq org-src-fontify-natively t)

;; Remote files via TRAMP
(setq tramp-default-method "ssh")

;; ========================
;; (find-file "/path/to/your/file")
(let ((obof-s one-buffer-one-frame-mode)
      (tm-s tabbar-mode))
  (one-buffer-one-frame-mode nil)
  (tabbar-mode t)
  (find-file “~/file1.org")
  (find-file “~/file2.org")
  (tabbar-mode tm-s) ;; restore
  (one-buffer-one-frame-mode obof-s))

More information about the MacOSX-Emacs mailing list