+2008-08-18 Kenichi Handa <handa@m17n.org>
+
+ * international/mule-diag.el (font-show-log): Add optional arg N
+ to control the limit of font listing.
+
2008-08-18 Chong Yidong <cyd@stupidchicken.com>
* window.el (recenter-top-bottom): Determine top and bottom
(nth 13 fields) 16)))))))))))
;;;###autoload
-(defun font-show-log ()
- "Show log of font listing and opening."
- (interactive)
+(defun font-show-log (&optional n)
+ "Show log of font listing and opening.
+Prefix arg N says how many fonts to show for each listing.
+The default is 20. If N is negative, do not limit the listing."
+ (interactive "p")
(if (eq font-log t)
(message "Font logging is currently suppressed")
(with-output-to-temp-buffer "*Help*"
(insert (format "%s: %s\n" (car elt) (cadr elt)))
(setq elt (nth 2 elt))
(if (or (vectorp elt) (listp elt))
- (let ((limit 20)
- (i 0))
+ (let ((i 0))
(catch 'tag
(mapc #'(lambda (x)
(setq i (1+ i))
- (when (= i 20)
+ (when (= i n)
(insert " ...\n")
(throw 'tag nil))
(insert (format " %s\n" x)))