emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 70a94da 109/433: (mmm-run-major-mode-hook): Added `ignore-


From: Dmitry Gutov
Subject: [elpa] master 70a94da 109/433: (mmm-run-major-mode-hook): Added `ignore-errors' around each call.
Date: Thu, 15 Mar 2018 19:43:45 -0400 (EDT)

branch: master
commit 70a94daec7dcef54cc5993efda0163dfb195e38b
Author: mas <mas>
Commit: mas <mas>

    (mmm-run-major-mode-hook): Added `ignore-errors' around each call.
---
 mmm-vars.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/mmm-vars.el b/mmm-vars.el
index b6a09f0..e9d49d1 100644
--- a/mmm-vars.el
+++ b/mmm-vars.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2000 by Michael Abraham Shulman
 
 ;; Author: Michael Abraham Shulman <address@hidden>
-;; Version: $Id: mmm-vars.el,v 1.18 2000/07/13 23:43:54 mas Exp $
+;; Version: $Id: mmm-vars.el,v 1.19 2000/07/13 23:48:04 mas Exp $
 
 ;;{{{ GPL
 
@@ -343,7 +343,8 @@ an existing buffer."
   :type 'hook)
 
 (defun mmm-run-major-mode-hook ()
-  (run-hooks 'mmm-major-mode-hook))
+  (dolist (func mmm-major-mode-hook)
+    (ignore-errors (funcall func))))
 
 ;;}}}
 ;;{{{ MMM Global Mode



reply via email to

[Prev in Thread] Current Thread [Next in Thread]