From: Ken Raeburn Date: Fri, 30 Oct 2009 23:08:48 +0000 (+0000) Subject: Fixes for Emacs 22 compatibility X-Git-Tag: krb5-1.8-alpha1~238 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=162ab371748cba0cc6f172419bd6e71fa04bb878;p=krb5.git Fixes for Emacs 22 compatibility git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23099 dc483132-0cff-0310-8789-dd5450dbe970 --- 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))))