• Karoly Lorentey's avatar
    Fix toolbars on X frames when Emacs is started on a tty. (Reported by Richard Lewis.) · 095fe281
    Karoly Lorentey authored
    * lisp/faces.el (x-create-frame-with-faces): Remove bogus check for first
      frame.  Call `tool-bar-setup'.
    * lisp/frame.el (window-system-default-frame-alist): Enhance doc string.
    * lisp/frame.el (frame-notice-user-settings): Don't put 'tool-bar-lines
      in `default-frame-alist' when initial frame is on a tty.
    * lisp/frame.el (modify-all-frames-parameters): Simplify using
      `assq-delete-all'.  Remove specified parameters from
    * lisp/fringe.el (set-fringe-mode): Simplify and fix using
    * lisp/menu-bar.el (menu-bar-mode): Ditto.
    * lisp/scroll-bar.el (set-scroll-bar-mode): Ditto.
    * lisp/tool-bar.el (tool-bar-mode): Ditto.  Remove 'tool-bar-map length
      check before calling `tool-bar-setup'.
    * lisp/tool-bar.el (tool-bar-setup): New variable.
    * lisp/tool-bar.el (tool-bar-setup): Use it to guard against multiple
      calls.  Add optional frame parameter, and select that frame before
      adding items.
    * src/frame.c (syms_of_frame): Enhance doc string of `default-frame-alist'.
    git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-536
frame.el 55.5 KB