unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to reject visiting a file
@ 2014-12-12  1:46 Óscar Fuentes
  2014-12-12  8:01 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Óscar Fuentes @ 2014-12-12  1:46 UTC (permalink / raw)
  To: help-gnu-emacs

Is there a way to error-out when Emacs tries to visit certain file
before the file is loaded? I'll like to use a hook that receives the
file name and be able to throw an error from there that aborts the
operation.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-12-12 16:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-12  1:46 How to reject visiting a file Óscar Fuentes
2014-12-12  8:01 ` Eli Zaretskii
2014-12-12 15:19   ` Óscar Fuentes
2014-12-12 15:31     ` Stefan Monnier
2014-12-12 15:47       ` Óscar Fuentes
2014-12-12 15:56         ` Stefan Monnier
2014-12-12 16:35           ` Óscar Fuentes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).