-;;; srecode/semantic.el --- Semantic specific extensions to SRecode.
+;;; srecode/semantic.el --- Semantic specific extensions to SRecode -*- lexical-binding:t -*-
;; Copyright (C) 2007-2021 Free Software Foundation, Inc.
(cl-defmethod srecode-compound-toString((cp srecode-semantic-tag)
function
- dictionary)
+ _dictionary)
"Convert the compound dictionary value CP to a string.
If FUNCTION is non-nil, then FUNCTION is somehow applied to an
aspect of the compound value."
;; Insert the template.
(let ((endpt (srecode-insert-fcn temp dict nil t)))
- (run-hook-with-args 'point-insert-fcn tag)
+ (if (functionp point-insert-fcn)
+ (funcall point-insert-fcn tag)
+ (dolist (f point-insert-fcn) (funcall f tag)))
;;(sit-for 1)
(cond