[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 232/299: Fix some FIXMEs.
From: |
Stefan Monnier |
Subject: |
[elpa] 232/299: Fix some FIXMEs. |
Date: |
Sun, 02 Nov 2014 03:11:39 +0000 |
monnier pushed a commit to branch externals/auctex
in repository elpa.
commit e18e745a2c1ba27f87be0b85c86449dc04f58c37
Author: Mosè Giordano <address@hidden>
Date: Sat Mar 15 11:56:20 2014 +0100
Fix some FIXMEs.
* style/paralist.el: Update copyright years.
("paralist"): Use `LaTeX-provided-package-options-member' to
conditionally define environments.
---
ChangeLog | 6 ++++++
style/paralist.el | 26 ++++++++++++++------------
2 files changed, 20 insertions(+), 12 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2f61eda..ab2c75c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-03-15 Mos� Giordano <address@hidden>
+
+ * style/paralist.el: Update copyright years.
+ ("paralist"): Use `LaTeX-provided-package-options-member' to
+ conditionally define environments.
+
2014-03-12 Tassilo Horn <address@hidden>
* multi-prompt.el (multi-prompt): Return nil on empty input.
diff --git a/style/paralist.el b/style/paralist.el
index a004d3c..61b50ac 100644
--- a/style/paralist.el
+++ b/style/paralist.el
@@ -1,6 +1,6 @@
;;; paralist.el -- AUCTeX style for paralist.sty
-;; Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+;; Copyright (C) 2003-2005, 2014 Free Software Foundation, Inc.
;; Author: Ralf Angeli <address@hidden>
;; Maintainer: address@hidden
@@ -72,17 +72,19 @@
'("asparaitem" LaTeX-paralist-env-item-opt-label)
'("inparaitem" LaTeX-paralist-env-item-opt-label)
'("compactitem" LaTeX-paralist-env-item-opt-label)
- '("compactdesc" LaTeX-env-item)
- ;; FIXME: Should not be available if package is loaded with option
- ;; `olditem':
- '("itemize" LaTeX-paralist-env-item-opt-label)
- ;; FIXME: Should not be available if package is loaded with option
- ;; `oldenum':
- '("enumerate" LaTeX-paralist-env-item-opt-label)
- ;; FIXME: Only defined if package is loaded with option
- ;; `defblank':
- '("asparablank" LaTeX-env-item)
- '("inparablank" LaTeX-env-item))
+ '("compactdesc" LaTeX-env-item))
+ ;; Environments (re)defined only when the package is loaded with particular
+ ;; options.
+ (unless (LaTeX-provided-package-options-member "paralist" "olditem")
+ (LaTeX-add-environments
+ '("itemize" LaTeX-paralist-env-item-opt-label)))
+ (unless (LaTeX-provided-package-options-member "paralist" "oldenum")
+ (LaTeX-add-environments
+ '("enumerate" LaTeX-paralist-env-item-opt-label)))
+ (when (LaTeX-provided-package-options-member "paralist" "defblank")
+ (LaTeX-add-environments
+ '("asparablank" LaTeX-env-item)
+ '("inparablank" LaTeX-env-item)))
;; Fontification
(when (and (featurep 'font-latex)
- [elpa] 219/299: Add WHEN arg to make-obsolete calls, (continued)
- [elpa] 219/299: Add WHEN arg to make-obsolete calls, Stefan Monnier, 2014/11/01
- [elpa] 221/299: Add an english style., Stefan Monnier, 2014/11/01
- [elpa] 220/299: Convert TeX-auto-add-type to a macro., Stefan Monnier, 2014/11/01
- [elpa] 222/299: New variable to pass options to the TeX processor., Stefan Monnier, 2014/11/01
- [elpa] 224/299: Fix selection of default environment in LaTeX-environment., Stefan Monnier, 2014/11/01
- [elpa] 225/299: Fix minor documentation bug., Stefan Monnier, 2014/11/01
- [elpa] 229/299: Advice instead of fset + redefine., Stefan Monnier, 2014/11/01
- [elpa] 228/299: Squash a byte-compiler warning., Stefan Monnier, 2014/11/01
- [elpa] 226/299: Improve defaults for filling., Stefan Monnier, 2014/11/01
- [elpa] 230/299: Fix bug causing endless package queries., Stefan Monnier, 2014/11/01
- [elpa] 232/299: Fix some FIXMEs.,
Stefan Monnier <=
- [elpa] 223/299: Prompt for packages inside LaTeX-env-document., Stefan Monnier, 2014/11/01
- [elpa] 233/299: Prevent an infinite loop in TeX-command-expand., Stefan Monnier, 2014/11/01
- [elpa] 227/299: Fix missing quote., Stefan Monnier, 2014/11/01
- [elpa] 235/299: Enable TeX-PDF-mode by default., Stefan Monnier, 2014/11/01
- [elpa] 236/299: Add new style/exercise.el., Stefan Monnier, 2014/11/01
- [elpa] 231/299: Make TeX-completing-read-multiple return nil on empty input., Stefan Monnier, 2014/11/01
- [elpa] 239/299: Silence assignment to free variable warnings., Stefan Monnier, 2014/11/01
- [elpa] 240/299: Fix ChangeLog node for texinfo., Stefan Monnier, 2014/11/01
- [elpa] 242/299: Add another exception to error parsing., Stefan Monnier, 2014/11/01
- [elpa] 241/299: Resolve conflicts, Stefan Monnier, 2014/11/01