cus-edit.el: Remove XEmacs compat code

* lisp/cus-edit.el (custom-browse-insert-prefix): Remove XEmacs
compat code and make obsolete.
(custom-group-value-create): Use `insert' directly.

* lisp/emacs-lisp/elint.el (elint-check-conditional-form): Don't
refer to function that doesn't have an if any more.
This commit is contained in:
Lars Ingebrigtsen 2019-05-19 20:50:54 +02:00
parent a9c1e18517
commit 1b2b136a17
2 changed files with 8 additions and 21 deletions

View file

@ -937,7 +937,7 @@ Does basic handling of `featurep' tests."
((and (memq func '(unless or))
(equal test '(featurep (quote emacs)))))
((and (eq func 'if)
(or (null test) ; eg custom-browse-insert-prefix
(or (null test)
(member test '((featurep (quote xemacs))
(not (featurep (quote emacs)))))
(and (eq (car-safe test) 'and)