Added some docs of how to enable the confirmation dialog before pasting

master
Elis Axelsson 9 years ago
parent af0474eceb
commit f0a36e24ca
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F
  1. 14
      README.org
  2. 4
      webpaste.el

@ -54,6 +54,20 @@ This can be added to the =:config= section of use-package:
(setq webpaste-provider-priority '("ptpb.pw" "dpaste.de"))))
#+END_SRC
*** Confirm pasting with a yes/no confirmation before pasting
To enable a confirmation dialog to always pop up and require you to confirm
pasting before text is actually sent to a paste-provider you just need to set
the variable =webpaste/paste-confirmation= to a value that is non-nil.
Example:
#+begin_src emacs-lisp :tangle yes
;; Require confirmation before doing paste
(setq webpaste/paste-confirmation t)
#+end_src
Can also be put in the =:config= section of =use-package= the same way as the
provider definitions above.
** TODO Providers to implement [6/9]
- [X] ptpb.pw
- [X] ix.io

@ -68,9 +68,9 @@ default to all providers in order defined in ‘webpaste-providers’ list."
:type '(alist :key-type symbol :value-type string)
:group 'webpaste)
(defcustom webpaste/paste-confirmation nil
"Prompt for a yes/no confirmation before attempting to paste a region or
buffer"
"Prompt for a yes/no confirmation before attempting to paste a region or buffer."
:group 'webpaste)

Loading…
Cancel
Save