diff options
| author | Stefan Monnier | 2006-01-10 19:14:38 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2006-01-10 19:14:38 +0000 |
| commit | 5dc3ceeb7650a464e1892cf00c5a3da34b862a3f (patch) | |
| tree | 9f7edac235140fd2b4eae8cf25117a1487c50820 | |
| parent | 59425106a200222d83e3f706d4d20571917bd8cf (diff) | |
| download | emacs-5dc3ceeb7650a464e1892cf00c5a3da34b862a3f.tar.gz emacs-5dc3ceeb7650a464e1892cf00c5a3da34b862a3f.zip | |
(url-privacy-level): Add setter.
| -rw-r--r-- | lisp/url/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/url/url-vars.el | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index d30534ec6be..08d5eb4c6bf 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2006-01-10 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * url-vars.el (url-privacy-level): Add setter. | ||
| 4 | |||
| 1 | 2006-01-05 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2006-01-05 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * url-history.el (url-history-hash-table): Initialize in declaration. | 7 | * url-history.el (url-history-hash-table): Initialize in declaration. |
diff --git a/lisp/url/url-vars.el b/lisp/url/url-vars.el index 245149068f1..97f6fc129fb 100644 --- a/lisp/url/url-vars.el +++ b/lisp/url/url-vars.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; url-vars.el --- Variables for Uniform Resource Locator tool | 1 | ;;; url-vars.el --- Variables for Uniform Resource Locator tool |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2001, 2004, | 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2001, 2004, |
| 4 | ;; 2005 Free Software Foundation, Inc. | 4 | ;; 2005, 2006 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Keywords: comm, data, processes, hypermedia | 6 | ;; Keywords: comm, data, processes, hypermedia |
| 7 | 7 | ||
| @@ -112,9 +112,8 @@ using `dired' to view the directory." | |||
| 112 | :type 'string | 112 | :type 'string |
| 113 | :group 'url-file) | 113 | :group 'url-file) |
| 114 | 114 | ||
| 115 | ;; Fixme: this should have a setter which calls url-setup-privacy-info. | ||
| 116 | (defcustom url-privacy-level '(email) | 115 | (defcustom url-privacy-level '(email) |
| 117 | "*How private you want your requests to be. | 116 | "How private you want your requests to be. |
| 118 | HTTP has header fields for various information about the user, including | 117 | HTTP has header fields for various information about the user, including |
| 119 | operating system information, email addresses, the last page you visited, etc. | 118 | operating system information, email addresses, the last page you visited, etc. |
| 120 | This variable controls how much of this information is sent. | 119 | This variable controls how much of this information is sent. |
| @@ -144,6 +143,8 @@ Samples: | |||
| 144 | This variable controls several other variables and is _NOT_ automatically | 143 | This variable controls several other variables and is _NOT_ automatically |
| 145 | updated. Call the function `url-setup-privacy-info' after modifying this | 144 | updated. Call the function `url-setup-privacy-info' after modifying this |
| 146 | variable." | 145 | variable." |
| 146 | :initialize 'custom-initialize-default | ||
| 147 | :set (lambda (sym val) (set-default sym val) (url-setup-privacy-info)) | ||
| 147 | :type '(radio (const :tag "None (you believe in the basic goodness of humanity)" | 148 | :type '(radio (const :tag "None (you believe in the basic goodness of humanity)" |
| 148 | :value none) | 149 | :value none) |
| 149 | (const :tag "Low (do not reveal last location)" | 150 | (const :tag "Low (do not reveal last location)" |
| @@ -278,7 +279,7 @@ get the first available language (as opposed to the default)." | |||
| 278 | (defvar url-package-version nil | 279 | (defvar url-package-version nil |
| 279 | "Version number of package using URL.") | 280 | "Version number of package using URL.") |
| 280 | 281 | ||
| 281 | (defvar url-package-name nil "Version number of package using URL.") | 282 | (defvar url-package-name nil "Name of package using URL.") |
| 282 | 283 | ||
| 283 | (defvar url-system-type nil | 284 | (defvar url-system-type nil |
| 284 | "What type of system we are on.") | 285 | "What type of system we are on.") |