Added comment on block code

This commit is contained in:
Lucien Cartier-Tilet 2020-03-25 12:33:02 +01:00
parent 385daeff1b
commit 82eab10cde
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -67,6 +67,8 @@
(add-hook 'org-babel-post-tangle-hook 'phundrak/make-tangled-files-executable)
#+end_src
This code block can be evaluated once this file has been tangled in order to
produce again non-executable files.
#+begin_src emacs-lisp :results silent
(defun phundrak/make-tangled-files-not-executable ()
(set-file-modes (buffer-file-name) #o644))