aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinicius Jose Latorre2008-12-05 14:56:18 +0000
committerVinicius Jose Latorre2008-12-05 14:56:18 +0000
commit6530de7d397e2c051d1076fd4d75a04993006b77 (patch)
treeea7c3e5a938d0dc96ad2ff6889ea8547e81ba309
parent68c5540bb719334db73e877737b894f514690e99 (diff)
downloademacs-6530de7d397e2c051d1076fd4d75a04993006b77.tar.gz
emacs-6530de7d397e2c051d1076fd4d75a04993006b77.zip
Transform defvar into defcustom.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/ps-bdf.el9
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
52008-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
52008-12-05 Juanma Barranquero <lekktu@gmail.com> 102008-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.
48The default value is '(\"/usr/local/share/emacs/fonts/bdf\").") 48The 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.