diff --git a/configuration.org b/configuration.org index becb700..c080feb 100644 --- a/configuration.org +++ b/configuration.org @@ -785,20 +785,6 @@ and a backlink to the function and the file." ** Jinja related -*** Mark a string as translatable - -#+BEGIN_SRC emacs-lisp -(defun jinja-mark-translatable (begin end) - (interactive (if (use-region-p) - (list (region-beginning) (region-end)) - (list (point-min) (point-max)))) - (save-excursion - (goto-char end) - (insert "{% endtrans %}") - (goto-char begin) - (insert "{% trans %}"))) -#+END_SRC - *** URL-ify and de-URL-ify region These functions URL-encode/decode a text. Might be helpful when embedding/extracting data to/from