From bdb9efaf831f9fa8ed5ca1d99ad98136f6669f2f Mon Sep 17 00:00:00 2001 From: zdm <zdm@cock.li> Date: Sat, 15 Feb 2020 11:37:35 -0700 Subject: [PATCH] gitea proper src formatting --- README.org | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.org b/README.org index 51b5dd9..548c7c5 100644 --- a/README.org +++ b/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.