all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Updating defcustom variables in elisp code
@ 2022-09-18 14:29 uzibalqa
  2022-09-19 10:02 ` Jean Louis
  0 siblings, 1 reply; 3+ messages in thread
From: uzibalqa @ 2022-09-18 14:29 UTC (permalink / raw)
  To: uzibalqa via Users list for the GNU Emacs text editor


Have used defcustom as follows

(defcustom px-frame-initpos (cons 8 8)
  "Position of initial frame."
  :type 'sexp
  :group 'px-frame)

Then inside some function, I want to reset the value of "px-frame-initpos".
Have been using 

(custom-declare-variable 'px-frame-initpos (cons lft top) "DESC")

Perhaps using "custom-declare-variable" is not the appropriate thing to do, as it seems 
that it is declaring the variable from scratch, needing also ":type" and ":group".  






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-19 19:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-18 14:29 Updating defcustom variables in elisp code uzibalqa
2022-09-19 10:02 ` Jean Louis
2022-09-19 19:14   ` uzibalqa

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.