bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parame


From: martin rudalics
Subject: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter?
Date: Tue, 24 Jan 2017 08:46:04 +0100

> Instead
> of dragging it manually I use:
>
> (defadvice make-frame (after adjust-frame-height-and-position activate)
>    "Shrink the height of a new frame and move it upward."
>    (if (ad-get-arg 0) nil
>      (sit-for 0) ;; Added for new Emacs 26
>      (modify-frame-parameters ad-return-value
>                               '((height . 32) (top . 1112)))))

Why don't you use ‘after-make-frame-functions’?

martin






reply via email to

[Prev in Thread] Current Thread [Next in Thread]