emacs-devel
[Top][All Lists]
Advanced

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

Re: Towards a cleaner build: custom


From: Lars Ingebrigtsen
Subject: Re: Towards a cleaner build: custom
Date: Sat, 18 May 2019 07:32:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

In custom-variable-value-create:
cus-edit.el:2584:24:Warning: ‘custom-show’ is an obsolete function (as of
    24.1); this widget type is no longer supported.

It's this code:

    ;; If we don't know the state, see if we need to edit it in lisp form.
    (unless state
      (setq state (if (custom-show type value) 'unknown 'hidden)))

24.1 is a long time ago, so changing that to

    ;; If we don't know the state, see if we need to edit it in lisp form.
    (unless state
      (setq state 'unknown))

is perhaps the right solution?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




reply via email to

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