[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with after-change-functions hook
From: |
user240 |
Subject: |
Problem with after-change-functions hook |
Date: |
Sat, 18 Mar 2006 20:28:19 -0800 (PST) |
I am trying to create a hook so as to run a function when a certain buffer
changes. I put this in a mode definition function:
(add-hook 'after-change-functions 'function nil t)
but the resulting hook appears to be global, as the function take effect on
all buffers!? What do I do to restrict the hook to the buffer that the mode
function was run?
--
View this message in context:
http://www.nabble.com/Problem-with-after-change-functions-hook-t1305186.html#a3477857
Sent from the Emacs - Help forum at Nabble.com.
- Problem with after-change-functions hook,
user240 <=