[emacs-berlin] Automatic sudo
Rasmus
rasmus at gmx.us
Mon Aug 24 21:30:02 UTC 2015
Arne Brasseur <arne.brasseur at gmail.com> writes:
> (defadvice self-insert-command (around automagic-sudo activate)
Perhaps you'd also want to look into the "nadvice" style of advising,
https://www.gnu.org/software/emacs/manual/html_node/elisp/Advising-Named-Functions.html
https://www.gnu.org/software/emacs/manual/html_node/elisp/Porting-old-advices.html
Rasmus
--
Hooray!
More information about the emacs-berlin
mailing list