auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] Changes to auctex/context.el


From: Berend de Boer
Subject: [AUCTeX-diffs] Changes to auctex/context.el
Date: Wed, 03 May 2006 21:46:09 +0000

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]