Index: auctex/context.el
diff -u auctex/context.el:1.54 auctex/context.el:1.55
--- auctex/context.el:1.54 Tue Feb 7 10:04:33 2006
+++ auctex/context.el Wed May 3 21:46:09 2006
@@ -85,6 +85,7 @@
(defvar ConTeXt-current-interface "en"
"Interface to be used for inserting macros and ConTeXt run.")
+(make-variable-buffer-local 'ConTeXt-current-interface)
(defvar ConTeXt-menu-changed nil)
;; Need to update ConTeXt menu.
@@ -1505,6 +1506,7 @@
(defun context-guess-current-interface ()
"Guess what ConTeXt interface the current buffer is using."
+ (interactive)
(save-excursion
(goto-char (point-min))
(setq ConTeXt-current-interface
@@ -1537,6 +1539,7 @@
(require (intern (concat "context-" ConTeXt-current-interface)))
(funcall (intern (concat "context-" ConTeXt-current-interface "-mode"))))
+
(provide 'context)
;;; context.el ends here
_______________________________________________
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs