Raw Syntax

The stuff programs are made of

Learn Emacs: Use Defadvice to Modify Functions


I use defadvice to change the behavior of zap-to-char. In it’s original form, zap-to-char deletes all characters up to and including the matching character. I prefer it to behave more like zap-up-to-but-not-including-char. It’s more intuitive to me.

More on defadvice here