Updated README.

This commit is contained in:
larstvei 2014-09-23 21:46:41 +02:00
parent b9a683e915
commit bea62a9f7e

View File

@ -775,6 +775,17 @@ To tidy up a buffer we define this function borrowed from [simenheg](https://git
(untabify beg (if (< end (point-max)) end (point-max))))) (untabify beg (if (< end (point-max)) end (point-max)))))
``` ```
If you have a link to a raw `.el`-file, run `M-x try` and yank an URL
into the minibuffer, and the file will be evaluated.
```lisp
(defun try (url)
"Takes an URL to a .el-file, and evaluates it."
(interactive (list (read-from-minibuffer "url: ")))
(with-current-buffer (url-retrieve-synchronously url)
(eval-region (search-forward-regexp "^$") (point-max))))
```
## Key bindings<a id="sec-2-14" name="sec-2-14"></a> ## Key bindings<a id="sec-2-14" name="sec-2-14"></a>
Bindings for [expand-region](https://github.com/magnars/expand-region.el). Bindings for [expand-region](https://github.com/magnars/expand-region.el).