emacs-diffs
[Top][All Lists]
Advanced

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

emacs-28 f1f57a5: Fix some custom types


From: Glenn Morris
Subject: emacs-28 f1f57a5: Fix some custom types
Date: Fri, 1 Oct 2021 11:33:49 -0400 (EDT)

branch: emacs-28
commit f1f57a541e4c74eec68a27c47c7416ed6c7d75dd
Author: Glenn Morris <rgm@gnu.org>
Commit: Glenn Morris <rgm@gnu.org>

    Fix some custom types
    
    * lisp/mpc.el (mpc-cover-image-re):
    * lisp/org/oc-csl.el (org-cite-csl-locales-dir)
    (org-cite-csl-styles-dir):
    * lisp/org/org-plot.el (org-plot/preset-plot-types): Fix :type.
---
 lisp/mpc.el          | 2 +-
 lisp/org/oc-csl.el   | 4 ++--
 lisp/org/org-plot.el | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lisp/mpc.el b/lisp/mpc.el
index 9131464..c47d433 100644
--- a/lisp/mpc.el
+++ b/lisp/mpc.el
@@ -964,7 +964,7 @@ If PLAYLIST is t or nil or missing, use the main playlist."
 
 (defcustom mpc-cover-image-re nil ; (rx (or ".jpg" ".jpeg" ".png") string-end)
   "If non-nil, it is a regexp that should match a valid cover image."
-  :type '(regexp)
+  :type '(choice (const nil) regexp)
   :version "28.1")
 
 (defun mpc-secs-to-time (secs)
diff --git a/lisp/org/oc-csl.el b/lisp/org/oc-csl.el
index 50df121..5623efc 100644
--- a/lisp/org/oc-csl.el
+++ b/lisp/org/oc-csl.el
@@ -123,7 +123,7 @@ If nil then only the fallback en-US locale will be 
available."
   :group 'org-cite
   :package-version '(Org . "9.5")
   :type '(choice
-          (dir :tag "Locales directory")
+          (directory :tag "Locales directory")
           (const :tag "Use en-US locale only" nil))
   :safe t)
 
@@ -134,7 +134,7 @@ directory.  This variable is ignored when style file is 
absolute."
   :group 'org-cite
   :package-version '(Org . "9.5")
   :type '(choice
-          (dir :tag "Styles directory")
+          (directory :tag "Styles directory")
           (const :tag "Use absolute file names" nil))
   :safe t)
 
diff --git a/lisp/org/org-plot.el b/lisp/org/org-plot.el
index 63176fc..4f14c7d 100644
--- a/lisp/org/org-plot.el
+++ b/lisp/org/org-plot.el
@@ -392,7 +392,7 @@ be set.
    Accepts string, nil, or lambda function which returns string
    or nil.  Defaults to nil."
   :group 'org-plot
-  :type '(alist :value-type (symbol group)))
+  :type 'alist)
 
 (defvar org--plot/radar-template
   "### spider plot/chart with gnuplot



reply via email to

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