about summary refs log tree commit diff
path: root/Completion/X/_x_selection_timeout
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/X/_x_selection_timeout')
-rw-r--r--Completion/X/_x_selection_timeout6
1 files changed, 5 insertions, 1 deletions
diff --git a/Completion/X/_x_selection_timeout b/Completion/X/_x_selection_timeout
index 7d219a41c..5481cd7fe 100644
--- a/Completion/X/_x_selection_timeout
+++ b/Completion/X/_x_selection_timeout
@@ -1,3 +1,7 @@
 #autoload
 
-_message 'selection timeout'
+if (( $# )); then
+  _message "$2"
+else
+  _message 'selection timeout'
+fi