diff options
| author | Vinicius Jose Latorre | 2008-12-05 14:56:18 +0000 |
|---|---|---|
| committer | Vinicius Jose Latorre | 2008-12-05 14:56:18 +0000 |
| commit | 6530de7d397e2c051d1076fd4d75a04993006b77 (patch) | |
| tree | ea7c3e5a938d0dc96ad2ff6889ea8547e81ba309 | |
| parent | 68c5540bb719334db73e877737b894f514690e99 (diff) | |
| download | emacs-6530de7d397e2c051d1076fd4d75a04993006b77.tar.gz emacs-6530de7d397e2c051d1076fd4d75a04993006b77.zip | |
Transform defvar into defcustom.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/ps-bdf.el | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 75a1acf3fff..ae07e9c6417 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -2,6 +2,11 @@ | |||
| 2 | 2 | ||
| 3 | * dired.el (dired-font-lock-keywords): Fix last change. | 3 | * dired.el (dired-font-lock-keywords): Fix last change. |
| 4 | 4 | ||
| 5 | 2008-12-05 Vinicius Jose Latorre <viniciusjl@ig.com.br> | ||
| 6 | |||
| 7 | * ps-bdf.el (bdf-directory-list): Transform (defvar ... "*..") | ||
| 8 | into (defcustom ... "..." :type ... :group...). | ||
| 9 | |||
| 5 | 2008-12-05 Juanma Barranquero <lekktu@gmail.com> | 10 | 2008-12-05 Juanma Barranquero <lekktu@gmail.com> |
| 6 | 11 | ||
| 7 | * international/mule-diag.el (mule-diag): Display the window | 12 | * 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 @@ | |||
| 40 | (require 'ps-mule)) | 40 | (require 'ps-mule)) |
| 41 | 41 | ||
| 42 | ;;;###autoload | 42 | ;;;###autoload |
| 43 | (defvar bdf-directory-list | 43 | (defcustom bdf-directory-list |
| 44 | (if (memq system-type '(ms-dos windows-nt)) | 44 | (if (memq system-type '(ms-dos windows-nt)) |
| 45 | (list (expand-file-name "fonts/bdf" installation-directory)) | 45 | (list (expand-file-name "fonts/bdf" installation-directory)) |
| 46 | '("/usr/local/share/emacs/fonts/bdf")) | 46 | '("/usr/local/share/emacs/fonts/bdf")) |
| 47 | "*List of directories to search for `BDF' font files. | 47 | "List of directories to search for `BDF' font files. |
| 48 | The default value is '(\"/usr/local/share/emacs/fonts/bdf\").") | 48 | The default value is '(\"/usr/local/share/emacs/fonts/bdf\")." |
| 49 | :type '(repeat :tag "BDF font directory list" | ||
| 50 | (directory :tag "BDF font directory")) | ||
| 51 | :group 'ps-print-miscellany) | ||
| 49 | 52 | ||
| 50 | ;; MS-DOS and MS-Windows users like to move the binary around after | 53 | ;; MS-DOS and MS-Windows users like to move the binary around after |
| 51 | ;; it's built, but the value above is computed at load-up time. | 54 | ;; it's built, but the value above is computed at load-up time. |