From: Štěpán Němec <[email protected]>
The function has been obsoleted for a long time, and recently removed
from the development version of GNU Emacs. Wrapping it in an `fboundp'
test solves the problem.
---
elisp/lilypond-mode.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/elisp/lilypond-mode.el b/elisp/lilypond-mode.el
index f014d1c..afa3265 100644
--- a/elisp/lilypond-mode.el
+++ b/elisp/lilypond-mode.el
@@ -1159,7 +1159,8 @@ (defun LilyPond-mode ()
(setq mark-even-if-inactive t))
;; Context dependent syntax tables in LilyPond-mode
- (make-local-hook 'post-command-hook) ; XEmacs requires
+ (when (fboundp 'make-local-hook)
+ (make-local-hook 'post-command-hook)) ; XEmacs requires
(add-hook 'post-command-hook 'LilyPond-mode-context-set-syntax-table nil t)
;; Turn on paren-mode buffer-locally, i.e., in LilyPond-mode
--
1.7.3.rc2.221.gbf93f.dirty
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond