another gitea test

This commit is contained in:
zdm 2020-02-15 11:36:04 -07:00
parent 205368d110
commit 19ba650f80

View File

@ -11,7 +11,7 @@ Upload regions, buffers, and files to various hosts.
* Usage * Usage
Place emacs-upload.el in ~load-path~ and load the package: Place emacs-upload.el in ~load-path~ and load the package:
#+bEGIN_SRC: emacs-lisp #+BEGIN_SRC: emacs-lisp
(require 'emacs-upload) (require 'emacs-upload)
#+END_SRC #+END_SRC
@ -28,14 +28,14 @@ Upload regions, buffers, and files to various hosts.
change your host on the fly. change your host on the fly.
Alternatively, do all three with ~use-package~: Alternatively, do all three with ~use-package~:
#+BEGIN_SRC #+BEGIN_SRC
(use-package emacs-upload (use-package emacs-upload
:demand t :demand t
:bind :bind
("C-c e" . emacs-upload) ("C-c e" . emacs-upload)
:config :config
(emacs-upload/set-host "ix")) (emacs-upload/set-host "ix"))
#+END_SRC #+END_SRC
To upload the region, simply select the region and call To upload the region, simply select the region and call
emacs-upload. To upload the whole buffer, have no region selected emacs-upload. To upload the whole buffer, have no region selected