diff options
author | Ihor Radchenko <yantar92@posteo.net> | 2024-02-20 12:19:46 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2024-03-24 08:38:48 -0400 |
commit | befa9fcaae29a6c9a283ba371c3c5234c7f644eb (patch) | |
tree | 426cc115202de3b0221814920698cb79e04c51c0 /lisp/files.el | |
parent | 3221d8d46116fdefb19742be916d0e352dfab761 (diff) | |
download | emacs-befa9fcaae29a6c9a283ba371c3c5234c7f644eb.tar.gz emacs-befa9fcaae29a6c9a283ba371c3c5234c7f644eb.tar.bz2 emacs-befa9fcaae29a6c9a283ba371c3c5234c7f644eb.zip |
org-macro--set-templates: Prevent code evaluation
* lisp/org/org-macro.el (org-macro--set-templates): Get rid of any
risk to evaluate code when `org-macro--set-templates' is called as a
part of major mode initialization. This way, no code evaluation is
ever triggered when user merely opens the file or when
`mm-display-org-inline' invokes Org major mode to fontify mime part
preview in email messages.
Diffstat (limited to 'lisp/files.el')
0 files changed, 0 insertions, 0 deletions