From: Michael Orlitzky Date: Mon, 14 Nov 2022 11:49:53 +0000 (-0500) Subject: nagios-mode.el: drop obsolete syntax-begin-function definition. X-Git-Tag: v0.4~6 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=nagios-mode.git;a=commitdiff_plain;h=040b59511473c97a2256e5576ba661ea4b05b4d3 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). --- 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