Fixes for Emacs 22 compatibility
authorKen Raeburn <raeburn@mit.edu>
Fri, 30 Oct 2009 23:08:48 +0000 (23:08 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 30 Oct 2009 23:08:48 +0000 (23:08 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23099 dc483132-0cff-0310-8789-dd5450dbe970

src/util/krb5-batch-reindent.el

index 1fa82cc2a043da19ec960eb396cb2bdc233899ed..c1c24211af357272dda79b8e327e0348273b1876 100644 (file)
@@ -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))))