Remove the un/hex-region commands

This commit is contained in:
Gergely Polonkai 2023-10-24 08:40:30 +02:00
parent f46f550efb
commit 9873a7d3ed
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4

View File

@ -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