further gitea formatting

This commit is contained in:
zdm 2020-02-15 11:38:37 -07:00
parent bdb9efaf83
commit f30e790684

View File

@ -10,24 +10,24 @@ Upload regions, buffers, and files to various hosts.
- ~json~
* 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
(require 'emacs-upload)
#+END_SRC
Optionally, bind the interactive function ~emacs-upload~ to some key:
Optionally, bind the interactive function ~emacs-upload~ to some key
#+BEGIN_SRC: emacs-lisp
(global-set-key (kbd "C-c e") 'emacs-upload)
#+END_SRC
Optionally, set the host upon emacs init:
Optionally, set the host upon emacs init
#+BEGIN_SRC: emacs-lisp
(emacs-upload/set-host "ix")
#+END_SRC
~emacs-upload/set-host~ is also an interactive command, so you can
change your host on the fly.
Alternatively, do all three with ~use-package~:
Alternatively, do all three with ~use-package~
#+BEGIN_SRC
(use-package emacs-upload
:demand t