Mercurial > hg > xemacs-beta
diff lisp/x-font-menu.el @ 316:512e409c26a2 r21-0b56
Import from CVS: tag r21-0b56
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:44:46 +0200 |
parents | 341dac730539 |
children | 19dcec799385 |
line wrap: on
line diff
--- a/lisp/x-font-menu.el Mon Aug 13 10:44:26 2007 +0200 +++ b/lisp/x-font-menu.el Mon Aug 13 10:44:46 2007 +0200 @@ -494,8 +494,8 @@ (when (and family (not (equal family from-family))) (setq new-props (append (list :family family) new-props))) (when (and size (not (equal size from-size))) - (setq new-props (append (list :size (int-to-string - (/ size 10))) new-props))) + (setq new-props (append (list :size (concat (int-to-string + (/ size 10)) "pt")) new-props))) (custom-set-face-update-spec 'default '((type x)) new-props) ;;; WMP - we need to honor font-menu-this-frame-only-p here! ; (set-face-font 'default new-default-face-font