(quickurl-ask): completion-ignore-case is set to the value of
quickurl-completion-ignore-case for the duration of the call to
completing-read.
:type 'function
:group 'quickurl)
+(defcustom quickurl-completion-ignore-case t
+ "*Should `quickurl-ask' ignore case when doing the input lookup?"
+ :type 'boolean
+ :group 'quickurl)
+
(defcustom quickurl-prefix ";; -*- lisp -*-\n\n"
"*Text to write to `quickurl-url-file' before writing the URL list."
:type 'string
(list
(progn
(quickurl-load-urls)
- (completing-read "Lookup: " quickurl-urls nil t))))
+ (let ((completion-ignore-case quickurl-completion-ignore-case))
+ (completing-read "Lookup: " quickurl-urls nil t)))))
(let ((url (quickurl-find-url lookup)))
(when url
(quickurl-insert url))))