mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
(image-toggle-display): Add `disabled' property.
This commit is contained in:
parent
caf39874e0
commit
fd014ebf25
1 changed files with 5 additions and 0 deletions
|
|
@ -173,6 +173,11 @@ and showing the image as an image."
|
|||
(if (called-interactively-p)
|
||||
(message "Repeat this command to go back to displaying the file as text")))))
|
||||
|
||||
(put 'image-toggle-display 'disabled "\
|
||||
WARNING: Displaying images can be a security risk.
|
||||
Please make sure you're using up-to-date image libraries
|
||||
and the images displayed come from a trusted source.")
|
||||
|
||||
(provide 'image-mode)
|
||||
|
||||
;; arch-tag: b5b2b7e6-26a7-4b79-96e3-1546b5c4c6cb
|
||||
|
|
|
|||
Loading…
Reference in a new issue