[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 36bed11 280/433: Don't use obsolete 'make-local-hook funct
From: |
Dmitry Gutov |
Subject: |
[elpa] master 36bed11 280/433: Don't use obsolete 'make-local-hook function in GNU Emacs |
Date: |
Thu, 15 Mar 2018 19:44:20 -0400 (EDT) |
branch: master
commit 36bed1142321ce6ea9fcf1d8320efbfc26cc0612
Author: Steve Purcell <address@hidden>
Commit: Steve Purcell <address@hidden>
Don't use obsolete 'make-local-hook function in GNU Emacs
---
mmm-region.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mmm-region.el b/mmm-region.el
index 221d0ca..cd5205f 100644
--- a/mmm-region.el
+++ b/mmm-region.el
@@ -588,7 +588,8 @@ different keymaps, syntax tables, local variables, etc. for
submodes."
(ignore-errors (funcall func)))))
(defun mmm-add-hooks ()
- (make-local-hook 'post-command-hook)
+ (if (featurep 'xemacs)
+ (make-local-hook 'post-command-hook))
(add-hook 'post-command-hook 'mmm-update-submode-region nil 'local))
(defun mmm-remove-hooks ()
- [elpa] master 2524d7a 208/433: Added `require's and `defvar's to eliminate compliation warnings., (continued)
- [elpa] master 2524d7a 208/433: Added `require's and `defvar's to eliminate compliation warnings., Dmitry Gutov, 2018/03/15
- [elpa] master c712ad4 190/433: Added flags telling which faces to use for which regions., Dmitry Gutov, 2018/03/15
- [elpa] master 23cd237 197/433: Modified CSS to use preferred mode., Dmitry Gutov, 2018/03/15
- [elpa] master c5b8993 234/433: # Updated, Dmitry Gutov, 2018/03/15
- [elpa] master 15ee310 228/433: Passed arguments to `signal'., Dmitry Gutov, 2018/03/15
- [elpa] master f156169 225/433: * mmm-cweb.el: New file., Dmitry Gutov, 2018/03/15
- [elpa] master ce6b28a 241/433: (mmm-ify-by-class): Removed duplicates from completion list., Dmitry Gutov, 2018/03/15
- [elpa] master 3c8a463 210/433: Added config.log and mmm.info-*., Dmitry Gutov, 2018/03/15
- [elpa] master a55863a 220/433: Improved instructions for turning off PSGML. (Thanks to Michael Alan, Dmitry Gutov, 2018/03/15
- [elpa] master 7142b02 285/433: Fix compilation warnings, Dmitry Gutov, 2018/03/15
- [elpa] master 36bed11 280/433: Don't use obsolete 'make-local-hook function in GNU Emacs,
Dmitry Gutov <=
- [elpa] master 3f56329 290/433: Fix references to free variables, Dmitry Gutov, 2018/03/15
- [elpa] master 612fbbd 229/433: Added cweb to autoloaded classes., Dmitry Gutov, 2018/03/15
- [elpa] master d2c692b 222/433: # Listed keyword arguments that edebug needs (in a comment), Dmitry Gutov, 2018/03/15
- [elpa] master 4b1267a 230/433: Added `sgml-dtd' submode class from Yann Dirson <address@hidden>., Dmitry Gutov, 2018/03/15
- [elpa] master 4cfee12 209/433: Updated chapter/section headings and menus., Dmitry Gutov, 2018/03/15
- [elpa] master 7511773 184/433: # Changed email address, Dmitry Gutov, 2018/03/15
- [elpa] master 4351361 191/433: Added alist to keep track of user-preferred major modes., Dmitry Gutov, 2018/03/15
- [elpa] master ea97875 231/433: Added C indentation style variables., Dmitry Gutov, 2018/03/15
- [elpa] master 80134a4 237/433: * mmm-sample.el (jsp): Added jsp-comment submode type., Dmitry Gutov, 2018/03/15
- [elpa] master b571d27 236/433: * FAQ: Don't quote argument to `setq'. :-), Dmitry Gutov, 2018/03/15