From f224a7d35b0c5a854266c69aa38ae265dd4a4898 Mon Sep 17 00:00:00 2001 From: Francois-Xavier 'FiX' KOWALSKI Date: Thu, 2 Jul 2015 19:09:55 +0200 Subject: [PATCH] avoid breaking on emacs-24.2 --- plantuml-mode.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plantuml-mode.el b/plantuml-mode.el index c2aa08b..5d2fb95 100644 --- a/plantuml-mode.el +++ b/plantuml-mode.el @@ -71,7 +71,7 @@ (shell-quote-argument plantuml-jar-path) " -language") (current-buffer)) (goto-char (point-min)) - (let ((found (search-forward ";" nil nil)) + (let ((found (search-forward ";" nil t)) (word "") (count 0) (pos 0)) @@ -189,4 +189,5 @@ Shortcuts Command Name (run-mode-hooks 'plantuml-mode-hook)) (provide 'plantuml-mode) -;;; plantuml-mode.el ends here \ No newline at end of file +;;; plantuml-mode.el ends here +