diff options
| author | Juanma Barranquero | 2005-06-23 16:20:05 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-06-23 16:20:05 +0000 |
| commit | 253b22986e1746dbf91d233ee85883df5f2cef01 (patch) | |
| tree | f28e798854fdeaead257614cddda9c03f475129b /src/xselect.c | |
| parent | 2010ba8ca92545dfe870a758d8b14198f323c2dd (diff) | |
| download | emacs-253b22986e1746dbf91d233ee85883df5f2cef01.tar.gz emacs-253b22986e1746dbf91d233ee85883df5f2cef01.zip | |
(Fx_own_selection_internal): Follow error conventions.
Diffstat (limited to 'src/xselect.c')
| -rw-r--r-- | src/xselect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xselect.c b/src/xselect.c index 6c722d9d02c..b0a2aee92ec 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -2119,7 +2119,7 @@ anything that the functions on `selection-converter-alist' know about. */) | |||
| 2119 | { | 2119 | { |
| 2120 | check_x (); | 2120 | check_x (); |
| 2121 | CHECK_SYMBOL (selection_name); | 2121 | CHECK_SYMBOL (selection_name); |
| 2122 | if (NILP (selection_value)) error ("selection-value may not be nil"); | 2122 | if (NILP (selection_value)) error ("SELECTION-VALUE may not be nil"); |
| 2123 | x_own_selection (selection_name, selection_value); | 2123 | x_own_selection (selection_name, selection_value); |
| 2124 | return selection_value; | 2124 | return selection_value; |
| 2125 | } | 2125 | } |