fedora-rpmdevtools/emacs fedora-init.el,1.5,1.6

Ville Skytta (scop) fedora-extras-commits at redhat.com
Sat Oct 15 19:54:47 UTC 2005


Author: scop

Update of /cvs/fedora/fedora-rpmdevtools/emacs
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28795/emacs

Modified Files:
	fedora-init.el 
Log Message:
Honor user's indent-tabs-mode setting in fedora-init.el.


Index: fedora-init.el
===================================================================
RCS file: /cvs/fedora/fedora-rpmdevtools/emacs/fedora-init.el,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- fedora-init.el	6 Oct 2005 16:15:15 -0000	1.5
+++ fedora-init.el	15 Oct 2005 19:54:45 -0000	1.6
@@ -2,11 +2,11 @@
 
 (defun fedora-new-rpm-spec-file-init ()
   (delete-region (point-min) (point-max))
-  (set (make-local-variable 'indent-tabs-mode) nil)
   (set (make-local-variable 'buffer-file-coding-system) 'utf-8)
   (if buffer-file-name
       (call-process "fedora-newrpmspec" nil t nil "-o" "-" buffer-file-name)
     (call-process "fedora-newrpmspec" nil t nil "-o" "-"))
+  (and indent-tabs-mode (tabify (point-min) (point-max)))
   (goto-char (point-min))
   (re-search-forward "^[A-Za-z]+:\\s-*$" nil t)
   (set-buffer-modified-p nil))




More information about the fedora-extras-commits mailing list