0

Why some of a frame parameters don't work in a function below, for example (minibuffer . nil), but they all work if i use make-frame function.

(defun create-nframe ()
 (let ((buffer (generate-new-buffer "untitled"))
    (current-frame (selected-frame)))
 (set-buffer-major-mode buffer)
 (with-current-buffer buffer
  (insert "A"))
 (display-buffer-in-child-frame buffer '(
              (no-special-glyphs . t)
              (width . 1000)
              ;; (parent-frame . current-frame)
              (height . 100)
              (no-other-frame . t)
              (keep-ratio . t)
              (wait-for-wm . nil)
              (skip-taskbar . t)
              (no-focus-on-map . t)
              (no-accept-focus . t)
              (undecorated . t)
              (override-redirect . t)
              (height . 0)
              (tool-bar-lines . 0)
              (internal-border-width . 0)
              (border-width . 0)
              (menu-bar-lines . 0)
              (left-fringe . 0)
              (right-fringe . 0)
              (cursor-type . nil)
              (unsplittable . t)
              (minibuffer . nil)))))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.