From: Michael Orlitzky Date: Fri, 20 Aug 2010 22:42:43 +0000 (-0400) Subject: Fix a setq within an if statement. X-Git-Tag: v0.3~9 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=5fa275977e46b64c6336523696558049a8a7157d;p=nagios-mode.git Fix a setq within an if statement. --- diff --git a/nagios-mode.el b/nagios-mode.el index 61cf412..33a5742 100644 --- a/nagios-mode.el +++ b/nagios-mode.el @@ -158,12 +158,12 @@ (defun nagios-calculate-indent() "Calculate the level of indentation." - ;; We're either inside a block, or we aren't. + ;; We're either inside a block, or we aren't. ;; Initialize the indent variable to either nagios-indent-level ;; or 0 depending on whether or not we're in a block. (let ((indent (if (nagios-in-block) - (setq indent nagios-indent-level) + nagios-indent-level 0) ) )