From 162ab371748cba0cc6f172419bd6e71fa04bb878 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 30 Oct 2009 23:08:48 +0000 Subject: [PATCH] Fixes for Emacs 22 compatibility git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23099 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/krb5-batch-reindent.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/krb5-batch-reindent.el b/src/util/krb5-batch-reindent.el index 1fa82cc2a..c1c24211a 100644 --- a/src/util/krb5-batch-reindent.el +++ b/src/util/krb5-batch-reindent.el @@ -36,7 +36,7 @@ (whitespace-style '(empty trailing))) ;; Only clean up tab issues if indent-tabs-mode is explicitly ;; set in the file local variables. - (if (assq 'indent-tabs-mode file-local-variables-alist) + (if (local-variable-p 'indent-tabs-mode) (progn (message "Enabling tab cleanups.") (add-to-list 'whitespace-style 'indentation) @@ -48,5 +48,5 @@ (whitespace-cleanup)) (save-buffer) - (kill-buffer) + (kill-buffer nil) (setq command-line-args-left (cdr command-line-args-left)))) -- 2.26.2