branch: main
commit a7dc84bfd2aeb422c2cd077cb8ab70d0fc041fb1
Author: Stefan Monnier <[email protected]>
Commit: Stefan Monnier <[email protected]>
Move metadata to autex.el; Remove auctex-pkg.el
---
.gitignore | 2 +-
auctex-pkg.el | 1 -
auctex.el | 17 +++++++++++++++++
3 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index 657cfceb..4c51832b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,7 +9,7 @@ INSTALL.windows
Makefile
#README
TODO
-auctex.el
+auctex-pkg.el
auto-loads.el
autom4te.*
config.*
diff --git a/auctex-pkg.el b/auctex-pkg.el
deleted file mode 100644
index ffec66c4..00000000
--- a/auctex-pkg.el
+++ /dev/null
@@ -1 +0,0 @@
-(define-package "auctex" "11.87.2" "Integrated environment for *TeX*" nil :url
"http://www.gnu.org/software/auctex/")
diff --git a/auctex.el b/auctex.el
new file mode 100644
index 00000000..1a06fd8e
--- /dev/null
+++ b/auctex.el
@@ -0,0 +1,17 @@
+;;; auctex.el --- Integrated environment for *TeX*
+
+;; Version: 11.87.2
+;; URL: http://www.gnu.org/software/auctex/
+
+;;; Commentary:
+
+;; This can be used for starting up AUCTeX. The following somewhat
+;; strange trick causes tex-site.el to be loaded in a way that can be
+;; safely undone using (unload-feature 'tex-site).
+
+;;; Code:
+
+(autoload 'TeX-load-hack
+ (expand-file-name "tex-site.el"
+ (file-name-directory load-file-name)))
+(TeX-load-hack)