Bug 31539 - uim-el: void-function: make-local-hook
Summary: uim-el: void-function: make-local-hook
Status: RESOLVED FIXED
Alias: None
Product: UIM
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: uim-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-10 19:37 UTC by Kan-Ru Chen
Modified: 2010-11-10 21:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
uim.el emacs24 fix. (873 bytes, patch)
2010-11-10 19:38 UTC, Kan-Ru Chen
Details | Splinter Review

Description Kan-Ru Chen 2010-11-10 19:37:51 UTC
GNU Emacs has deprecated `make-local-hook' back in GNU Emacs 21 and no longer provides it since GNU Emacs 24. `add-hook' local option will already make hook buffer local.

Attached patch use it conditionally only for XEmacs and explicitly put 'local instead of t for clarity.
Comment 1 Kan-Ru Chen 2010-11-10 19:38:52 UTC
Created attachment 40193 [details] [review]
uim.el emacs24 fix.
Comment 2 Etsushi Kato 2010-11-10 21:15:06 UTC
(In reply to comment #0)
Thanks for the fix for emacs24.  The patch has been applied in the svn trunk.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.