gitea proper src formatting
This commit is contained in:
parent
19ba650f80
commit
bdb9efaf83
18
README.org
18
README.org
@ -11,19 +11,19 @@ Upload regions, buffers, and files to various hosts.
|
||||
|
||||
* Usage
|
||||
Place emacs-upload.el in ~load-path~ and load the package:
|
||||
#+BEGIN_SRC: emacs-lisp
|
||||
(require 'emacs-upload)
|
||||
#+END_SRC
|
||||
#+BEGIN_SRC: emacs-lisp
|
||||
(require 'emacs-upload)
|
||||
#+END_SRC
|
||||
|
||||
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
|
||||
#+BEGIN_SRC: emacs-lisp
|
||||
(global-set-key (kbd "C-c e") 'emacs-upload)
|
||||
#+END_SRC
|
||||
|
||||
Optionally, set the host upon emacs init:
|
||||
#+BEGIN_SRC: emacs-lisp
|
||||
(emacs-upload/set-host "ix")
|
||||
#+END_SRC
|
||||
#+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.
|
||||
|
||||
|
Reference in New Issue
Block a user