diff options
| author | Glenn Morris | 2008-02-08 20:16:52 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-02-08 20:16:52 +0000 |
| commit | b50690ccaf06f34611f9cd94df3de3da484ac1cf (patch) | |
| tree | 9a0fc2114094782ab04f49881df9bcf8573ce89c /lisp | |
| parent | 866a8ce4ed690938d4be2eddd0091e933e8a21f8 (diff) | |
| download | emacs-b50690ccaf06f34611f9cd94df3de3da484ac1cf.tar.gz emacs-b50690ccaf06f34611f9cd94df3de3da484ac1cf.zip | |
(selection-coding-system): Make it a defcustom, and add the properties
from cus-start.el. Bump :version.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/select.el | 11 |
2 files changed, 14 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3e1c40b930c..5bb3f728bdd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -21,6 +21,11 @@ | |||
| 21 | 21 | ||
| 22 | 2008-02-08 Glenn Morris <rgm@gnu.org> | 22 | 2008-02-08 Glenn Morris <rgm@gnu.org> |
| 23 | 23 | ||
| 24 | * cus-start.el (selection-coding-system): Remove, since it's now | ||
| 25 | defined in select.el rather than in xselect.c. | ||
| 26 | * select.el (selection-coding-system): Make it a defcustom, and | ||
| 27 | add the properties from cus-start.el. Bump :version. | ||
| 28 | |||
| 24 | * custom.el (custom-theme-set-variables): Sort symbols that are | 29 | * custom.el (custom-theme-set-variables): Sort symbols that are |
| 25 | dependencies before symbols that depend on them. | 30 | dependencies before symbols that depend on them. |
| 26 | (custom-enabled-themes): Set after custom-theme-directory. | 31 | (custom-enabled-themes): Set after custom-theme-directory. |
diff --git a/lisp/select.el b/lisp/select.el index 47e3699e281..34f63d7dd1b 100644 --- a/lisp/select.el +++ b/lisp/select.el | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | 28 | ||
| 29 | ;;; Code: | 29 | ;;; Code: |
| 30 | 30 | ||
| 31 | (defvar selection-coding-system nil | 31 | (defcustom selection-coding-system nil |
| 32 | "Coding system for communicating with other X clients. | 32 | "Coding system for communicating with other X clients. |
| 33 | 33 | ||
| 34 | When sending text via selection and clipboard, if the target | 34 | When sending text via selection and clipboard, if the target |
| @@ -50,7 +50,14 @@ proper coding system is used according to the data-type as above. | |||
| 50 | See also the documentation of the variable `x-select-request-type' how | 50 | See also the documentation of the variable `x-select-request-type' how |
| 51 | to control which data-type to request for receiving text. | 51 | to control which data-type to request for receiving text. |
| 52 | 52 | ||
| 53 | The default value is nil.") | 53 | The default value is nil." |
| 54 | :type 'coding-system | ||
| 55 | :group 'mule | ||
| 56 | ;; Default was compound-text-with-extensions in 22.x (pre-unicode). | ||
| 57 | :version "23.1" | ||
| 58 | :set (lambda (symbol value) | ||
| 59 | (set-selection-coding-system value) | ||
| 60 | (set symbol value))) | ||
| 54 | 61 | ||
| 55 | (defvar next-selection-coding-system nil | 62 | (defvar next-selection-coding-system nil |
| 56 | "Coding system for the next communication with other X clients. | 63 | "Coding system for the next communication with other X clients. |