[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
setting
From: |
Rainer M Krug |
Subject: |
setting |
Date: |
Thu, 13 Jun 2013 14:16:40 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Hi
I have the following function definition:
,----
| (defun org-babel-mark-file-as-tangled ()
| (when (string-match "[.]R" (buffer-file-name))
| (add-file-local-variable 'org-babel-tangled-file t)
| (add-file-local-variable 'buffer-read-only t)
| (basic-save-buffer)))
`----
Now I would like to set the minor mode (auto-revert-mode) as well. According to
the manual, one should use
,----
| eval: (auto-revert-mode)
`----
But how can I include this in my function above?
Thanks,
Rainer
--
Rainer M. Krug
email: RMKrug<at>gmail<dot>com
pgpM6Kq7JfwJR.pgp
Description: PGP signature
- setting,
Rainer M Krug <=