diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 75a1acf3fff..ae07e9c6417 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -2,6 +2,11 @@ * dired.el (dired-font-lock-keywords): Fix last change. +2008-12-05 Vinicius Jose Latorre + + * ps-bdf.el (bdf-directory-list): Transform (defvar ... "*..") + into (defcustom ... "..." :type ... :group...). + 2008-12-05 Juanma Barranquero * international/mule-diag.el (mule-diag): Display the window diff --git a/lisp/ps-bdf.el b/lisp/ps-bdf.el index c5b394a7212..d508e3f62b3 100644 --- a/lisp/ps-bdf.el +++ b/lisp/ps-bdf.el @@ -40,12 +40,15 @@ (require 'ps-mule)) ;;;###autoload -(defvar bdf-directory-list +(defcustom bdf-directory-list (if (memq system-type '(ms-dos windows-nt)) (list (expand-file-name "fonts/bdf" installation-directory)) '("/usr/local/share/emacs/fonts/bdf")) - "*List of directories to search for `BDF' font files. -The default value is '(\"/usr/local/share/emacs/fonts/bdf\").") + "List of directories to search for `BDF' font files. +The default value is '(\"/usr/local/share/emacs/fonts/bdf\")." + :type '(repeat :tag "BDF font directory list" + (directory :tag "BDF font directory")) + :group 'ps-print-miscellany) ;; MS-DOS and MS-Windows users like to move the binary around after ;; it's built, but the value above is computed at load-up time.