File 0445-erlang-mode-fix-void-variable-align-rules-list-error.patch of Package erlang

From 32a9f9b2eb14623296ed6cb91d96ade0691134d4 Mon Sep 17 00:00:00 2001
From: Grigory Starinkin <starinkin@gmail.com>
Date: Tue, 28 Aug 2018 10:18:53 +0100
Subject: [PATCH] erlang-mode: fix void variable align-rules-list error
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

erlang-mode crashes with the following error:
Symbol’s value as variable is void: align-rules-list

caused by #1728
---
 lib/tools/emacs/erlang.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/tools/emacs/erlang.el b/lib/tools/emacs/erlang.el
index 242a5abe72..82e5c2222d 100644
--- a/lib/tools/emacs/erlang.el
+++ b/lib/tools/emacs/erlang.el
@@ -77,7 +77,7 @@
 ;;; Code:
 
 (eval-when-compile (require 'cl))
-(eval-when-compile (require 'align))
+(require 'align)
 
 ;; Variables:
 
-- 
2.16.4

openSUSE Build Service is sponsored by