* set-* frame parameter functions (e.g. set-foreground-color)
@ 2005-08-02 16:45 Drew Adams
2005-08-02 17:49 ` Juanma Barranquero
0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2005-08-02 16:45 UTC (permalink / raw)
There is a general set-frame-parameter function. There are also specific
functions like set-foreground-color. The specific functions don't accept a
frame argument.
Why not let the specific functions also accept an optional frame argument?
This would be slightly more readable: (set-foreground-color "Red" my-frame)
vs (set-frame-parameter my-frame 'foreground-color). And it wouldn't affect
any existing code that uses these functions.
Also, there is no doc string for these functions in frame.el (as of CVS
6/26):
set-frame-parameter
frame-update-face-colors
make-initial-minibuffer-frame
make-frame-names-alist
At the very least, set-frame-parameter should have a doc string.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-02 17:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-02 16:45 set-* frame parameter functions (e.g. set-foreground-color) Drew Adams
2005-08-02 17:49 ` Juanma Barranquero
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.