aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Aranda2023-09-10 10:45:04 -0300
committerStefan Kangas2023-09-10 17:36:30 +0200
commite7e7ce67d24b2d6df01593cab83de7d46a97dcfe (patch)
treec362e2918e1f0eb159865d71b02913c7cef9cd87
parentc54080aebd1e5a0fa122be1421ce660d4135c9c0 (diff)
downloademacs-e7e7ce67d24b2d6df01593cab83de7d46a97dcfe.tar.gz
emacs-e7e7ce67d24b2d6df01593cab83de7d46a97dcfe.zip
Fix order of `other' choice in defcustom :type
* lisp/font-lock.el (font-lock-verbose) * lisp/image-mode.el (image-auto-resize) * lisp/gnus/message.el (message-openpgp-header): Arrange for 'other' to be the last choice. (Bug#65852)
-rw-r--r--lisp/font-lock.el4
-rw-r--r--lisp/gnus/message.el6
-rw-r--r--lisp/image-mode.el4
3 files changed, 7 insertions, 7 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index f8815c1698a..3df63f82fa1 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -299,8 +299,8 @@ that match at least one applicable CONDITION are disabled."
299 "If non-nil, means show status messages for buffer fontification. 299 "If non-nil, means show status messages for buffer fontification.
300If a number, only buffers greater than this size have fontification messages." 300If a number, only buffers greater than this size have fontification messages."
301 :type '(choice (const :tag "never" nil) 301 :type '(choice (const :tag "never" nil)
302 (other :tag "always" t) 302 (integer :tag "size")
303 (integer :tag "size")) 303 (other :tag "always" t))
304 :group 'font-lock 304 :group 'font-lock
305 :version "24.1") 305 :version "24.1")
306 306
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index fe27927be7e..b8ea529d51c 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -2840,11 +2840,11 @@ will not be inserted."
2840 (const :tag "No ID" nil)) 2840 (const :tag "No ID" nil))
2841 (choice (string :tag "Key") 2841 (choice (string :tag "Key")
2842 (const :tag "No Key" nil)) 2842 (const :tag "No Key" nil))
2843 (choice (other :tag "None" nil) 2843 (choice (const :tag "Unprotected" "unprotected")
2844 (const :tag "Unprotected" "unprotected")
2845 (const :tag "Sign" "sign") 2844 (const :tag "Sign" "sign")
2846 (const :tag "Encrypt" "encrypt") 2845 (const :tag "Encrypt" "encrypt")
2847 (const :tag "Sign and Encrypt" "signencrypt")))) 2846 (const :tag "Sign and Encrypt" "signencrypt")
2847 (other :tag "None" nil))))
2848 :version "28.1") 2848 :version "28.1")
2849 2849
2850(defun message-add-openpgp-header () 2850(defun message-add-openpgp-header ()
diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index dce35ff72da..ecc7d73dd9e 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -69,8 +69,8 @@ Its value should be one of the following:
69Resizing will always preserve the aspect ratio of the image." 69Resizing will always preserve the aspect ratio of the image."
70 :type '(choice (const :tag "No resizing" nil) 70 :type '(choice (const :tag "No resizing" nil)
71 (const :tag "Fit to window" fit-window) 71 (const :tag "Fit to window" fit-window)
72 (other :tag "Scale down to fit window" t) 72 (number :tag "Scale factor" 1)
73 (number :tag "Scale factor" 1)) 73 (other :tag "Scale down to fit window" t))
74 :version "29.1" 74 :version "29.1"
75 :group 'image) 75 :group 'image)
76 76