Remove the un/hex-region commands
This commit is contained in:
parent
f46f550efb
commit
9873a7d3ed
@ -758,25 +758,6 @@ and a backlink to the function and the file."
|
|||||||
(ha/org-capture-fileref-snippet f "SRC" org-src-mode func-name))))
|
(ha/org-capture-fileref-snippet f "SRC" org-src-mode func-name))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Jinja related
|
|
||||||
|
|
||||||
*** URL-ify and de-URL-ify region
|
|
||||||
|
|
||||||
These functions URL-encode/decode a text. Might be helpful when embedding/extracting data to/from
|
|
||||||
HTML.
|
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(defun hex-region (start end)
|
|
||||||
"urlencode the region between START and END in current buffer."
|
|
||||||
(interactive "r")
|
|
||||||
(func-region start end #'url-hexify-string))
|
|
||||||
|
|
||||||
(defun unhex-region (start end)
|
|
||||||
"de-urlencode the region between START and END in current buffer."
|
|
||||||
(interactive "r")
|
|
||||||
(func-region start end #'url-unhex-string))
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
** Utility functions for EDiff
|
** Utility functions for EDiff
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:SOURCE: http://article.gmane.org/gmane.emacs.orgmode/75222
|
:SOURCE: http://article.gmane.org/gmane.emacs.orgmode/75222
|
||||||
|
Loading…
Reference in New Issue
Block a user