testing case change for gitea
This commit is contained in:
parent
a568d9687a
commit
205368d110
16
README.org
16
README.org
@ -11,31 +11,31 @@ 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
|
||||||
|
|
||||||
Optionally, bind the interactive function ~emacs-upload~ to some key:
|
Optionally, bind the interactive function ~emacs-upload~ to some key:
|
||||||
#+begin_src: emacs-lisp
|
#+BEGIN_SRC: emacs-lisp
|
||||||
(global-set-key (kbd "C-c e") 'emacs-upload)
|
(global-set-key (kbd "C-c e") 'emacs-upload)
|
||||||
#+end_src
|
#+END_SRC
|
||||||
|
|
||||||
Optionally, set the host upon emacs init:
|
Optionally, set the host upon emacs init:
|
||||||
#+begin_src: emacs-lisp
|
#+BEGIN_SRC: emacs-lisp
|
||||||
(emacs-upload/set-host "ix")
|
(emacs-upload/set-host "ix")
|
||||||
#+end_src
|
#+END_SRC
|
||||||
~emacs-upload/set-host~ is also an interactive command, so you can
|
~emacs-upload/set-host~ is also an interactive command, so you can
|
||||||
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
|
||||||
|
Reference in New Issue
Block a user