From 040b59511473c97a2256e5576ba661ea4b05b4d3 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 14 Nov 2022 06:49:53 -0500 Subject: [PATCH] nagios-mode.el: drop obsolete syntax-begin-function definition. I guess emacs doesn't use this any more? I'm not sure we cared about it in the first place, so bye. This fixes the warning, Warning: `syntax-begin-function' is an obsolete variable (as of 25.1). --- nagios-mode.el | 6 ------ 1 file changed, 6 deletions(-) diff --git a/nagios-mode.el b/nagios-mode.el index c56d58d..06d52e1 100644 --- a/nagios-mode.el +++ b/nagios-mode.el @@ -816,7 +816,6 @@ (make-local-variable 'comment-start-skip) (make-local-variable 'comment-end) (make-local-variable 'indent-line-function) - (make-local-variable 'syntax-begin-function) (set-syntax-table nagios-mode-syntax-table) @@ -827,11 +826,6 @@ comment-start "#" comment-start-skip "#\|; +" comment-end "" - - ;; Since comments and strings do not span multiple lines, - ;; the syntax parser can safely start parsing at the beginning - ;; of any line. - syntax-begin-function 'beginning-of-line ) ;; Keyboard Mapping -- 2.43.2