mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Updated README.
This commit is contained in:
parent
b9a683e915
commit
bea62a9f7e
11
README.md
11
README.md
@ -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).
|
||||||
|
Loading…
Reference in New Issue
Block a user