Next: Debugging, Previous: Byte Compilation, Up: Top [Contents][Index]
¥¢¥É¥Ð¥¤¥¹¡Êadvice¡Ëµ¡Ç½¤Ë¤è¤ê¡¢´Ø¿ô¤Î´û¸¤ÎÄêµÁ¤ËÄɲäǤ¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢Emacs¤Î¾¤ÎÉôʬ¤ÇÄêµÁ¤µ¤ì¤¿´Ø¿ô¤ò ¥é¥¤¥Ö¥é¥ê¤Ë¤ª¤¤¤Æ¥«¥¹¥¿¥Þ¥¤¥º¤¹¤ë¸«Ä̤·¤Î¤è¤¤ÊýË¡¤Ç¤¹¡£ ´Ø¿ôÁ´ÂΤòºÆÄêµÁ¤¹¤ë¤è¤ê¤â¸«Ä̤·¤¬¤è¤¤¤Î¤Ç¤¹¡£
³Æ´Ø¿ô¤Ï¡¢¸ÄÊ̤ËÄêµÁ¤·¤¿Ê£¿ô¤Î¥¢¥É¥Ð¥¤¥¹ÃÇÊÒ¤ò»ý¤Æ¤Þ¤¹¡£ ¤½¤ì¤¾¤ì¤Î¥¢¥É¥Ð¥¤¥¹ÃÇÊҤϡ¢ÌÀ¼¨Åª¤Ë͸ú¤Ë¤·¤¿¤ê̵¸ú¤Ë¤Ç¤¤Þ¤¹¡£ Ǥ°Õ¤Î´Ø¿ô¤Î͸ú¤Ë¤·¤¿¥¢¥É¥Ð¥¤¥¹ÃÇÊÒ¤¬¼ÂºÝ¤Ë¤½¤Î¸ú²Ì¤òȯ´ø¤¹¤ë¤Î¤Ï¡¢ Åö³º´Ø¿ô¤Î¥¢¥É¥Ð¥¤¥¹¤ò³èÀ¤Ë¤·¤¿¤È¤¤« Åö³º´Ø¿ô¤ò¤Î¤Á¤ËÄêµÁ¤·¤¿¤êºÆÄêµÁ¤·¤¿¤È¤¤Ç¤¹¡£
»ÈÍѾå¤ÎÃí°Õ¡§
¥¢¥É¥Ð¥¤¥¹¤Ï¡¢´û¸´Ø¿ô¤Î´û¸¤Î¸Æ¤Ó½Ð¤·¤Î¤Õ¤ë¤Þ¤¤¤òÊѹ¹¤¹¤ë¤Î¤ËÍÍѤǤ¢¤ë¡£
¿·¤¿¤Ê¸Æ¤Ó½Ð¤·¤ä¥¡¼¥Ð¥¤¥ó¥É¤Î¿·¤¿¤Ê¤Õ¤ë¤Þ¤¤¤¬É¬Íפʾì¹ç¤Ë¤Ï¡¢
´û¸´Ø¿ô¤ò»È¤¦¿·¤¿¤Ê´Ø¿ô¡Ê¤ä¿·¤¿¤Ê¥³¥Þ¥ó¥É¡Ë¤òÄêµÁ¤¹¤ë¤Û¤¦¤¬
¸«Ä̤·¤¬¤è¤¤¡£
• Simple Advice: | A simple example to explain the basics of advice. | |
• Defining Advice: | Detailed description of defadvice .
| |
• Around-Advice: | Wrapping advice around a function’s definition. | |
• Computed Advice: | ...is to defadvice as fset is to defun .
| |
• Activation of Advice: | Advice doesn’t do anything until you activate it. | |
• Enabling Advice: | You can enable or disable each piece of advice. | |
• Preactivation: | Preactivation is a way of speeding up the loading of compiled advice. | |
• Argument Access in Advice: | How advice can access the function’s arguments. | |
• Subr Arguments: | Accessing arguments when advising a primitive. | |
• Combined Definition: | How advice is implemented. |