Mercurial > hg > xemacs-beta
diff lisp/cus-edit.el @ 5473:ac37a5f7e5be
Merge with trunk.
author | Mats Lidell <matsl@xemacs.org> |
---|---|
date | Thu, 17 Mar 2011 23:42:59 +0100 |
parents | 308d34e9f07d f00192e1cd49 |
children | 4dee0387b9de |
line wrap: on
line diff
--- a/lisp/cus-edit.el Tue Feb 22 22:56:02 2011 +0100 +++ b/lisp/cus-edit.el Thu Mar 17 23:42:59 2011 +0100 @@ -868,7 +868,7 @@ ;; under point: (let ((choice (completing-read "Customize face: (default all) " obarray 'find-face))) - (if (zerop (length choice)) + (if (eql (length choice) 0) nil (list (intern choice)))) (cond ((symbolp faces) @@ -882,7 +882,7 @@ (list (symbol-name face) face)) faces) nil t))) - (if (zerop (length choice)) + (if (eql (length choice) 0) (list faces) (list (intern choice))))))))) @@ -1182,7 +1182,7 @@ (widget-insert "\n") (message "Creating customization items...") (setq custom-options - (if (= (length options) 1) + (if (eql (length options) 1) (mapcar (lambda (entry) (widget-create (nth 1 entry) :documentation-shown t @@ -2983,7 +2983,7 @@ (face-list)) nil nil nil 'face-history))) - (unless (zerop (length answer)) + (unless (eql (length answer) 0) (widget-value-set widget (intern answer)) (widget-apply widget :notify widget event) (widget-setup)))) @@ -3172,7 +3172,7 @@ (insert " " tag "\n") (widget-put widget :buttons buttons)) ((and (eq custom-buffer-style 'tree) - (zerop (length members))) + (eql (length members) 0)) (custom-browse-insert-prefix prefix) (insert "[ ]-- ") ;; (widget-glyph-insert nil "[ ]" "empty") @@ -3185,7 +3185,7 @@ ((eq custom-buffer-style 'tree) (custom-browse-insert-prefix prefix) (custom-load-widget widget) - (if (zerop (length members)) + (if (eql (length members) 0) (progn (custom-browse-insert-prefix prefix) (insert "[ ]-- ")