]> code.delx.au - gnu-emacs/blobdiff - lisp/wid-edit.el
* lisp/electric.el (electric-pair-pairs): New var.
[gnu-emacs] / lisp / wid-edit.el
index 3b9a0372de5e2eccc0c861cdb04ec41cc51273cd..e905e8f2a87fa68b0ffdbd4b349d0add9be2101c 100644 (file)
@@ -638,7 +638,8 @@ extension (xpm, xbm, gif, jpg, or png) located in
                specs)
           (dolist (elt widget-image-conversion)
             (dolist (ext (cdr elt))
-              (push (list :type (car elt) :file (concat image ext)) specs)))
+              (push (list :type (car elt) :file (concat image ext)
+                          :ascent 'center) specs)))
           (find-image (nreverse specs))))
        (t
         ;; Oh well.
@@ -2195,9 +2196,9 @@ when he invoked the menu."
   ;; We could probably do the same job as the images using single
   ;; space characters in a boxed face with a stretch specification to
   ;; make them square.
-  :on-glyph image-checkbox-checked
+  :on-glyph "checked"
   :off "[ ]"
-  :off-glyph image-checkbox-unchecked
+  :off-glyph "unchecked"
   :help-echo "Toggle this item."
   :action 'widget-checkbox-action)