aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2013-08-13 00:42:51 -0700
committerGlenn Morris2013-08-13 00:42:51 -0700
commitf0024d8c0dbe5dcb2551bf2433af39ffe7cb8f7a (patch)
tree325046b1f3fb9cffa88ac99ce51a16eb5edc0c76
parentae3f0661b3baf53dec77c14b9b54530094f09904 (diff)
downloademacs-f0024d8c0dbe5dcb2551bf2433af39ffe7cb8f7a.tar.gz
emacs-f0024d8c0dbe5dcb2551bf2433af39ffe7cb8f7a.zip
Fix some custom types
* lisp/cus-start.el (truncate-partial-width-windows): Fix type. * lisp/emulation/viper-init.el (viper-search-scroll-threshold): Fix type. * lisp/mail/feedmail.el (feedmail-confirm-outgoing) (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types. * admin/admin.el: Related comments.
-rw-r--r--admin/cus-test.el2
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/cus-start.el7
-rw-r--r--lisp/emulation/viper-init.el2
-rw-r--r--lisp/mail/feedmail.el17
5 files changed, 27 insertions, 8 deletions
diff --git a/admin/cus-test.el b/admin/cus-test.el
index 6b8ec9abe02..54d26cc11d6 100644
--- a/admin/cus-test.el
+++ b/admin/cus-test.el
@@ -202,6 +202,8 @@ The detected problematic options are stored in `cus-test-errors'."
202 202
203 ;; Check the values 203 ;; Check the values
204 (mapc (lambda (value) 204 (mapc (lambda (value)
205 ;; TODO for booleans, check for values that can be
206 ;; evaluated and are not t or nil. Usually a bug.
205 (unless (widget-apply conv :match value) 207 (unless (widget-apply conv :match value)
206 (setq mismatch 'mismatch))) 208 (setq mismatch 'mismatch)))
207 values) 209 values)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7951188bbaf..a3b657b23ca 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,12 @@
12013-08-13 Glenn Morris <rgm@gnu.org> 12013-08-13 Glenn Morris <rgm@gnu.org>
2 2
3 * mail/feedmail.el (feedmail-confirm-outgoing)
4 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5
6 * cus-start.el (truncate-partial-width-windows): Fix type.
7
8 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9
3 * net/shr.el (shr-table-horizontal-line): Fix custom type. 10 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4 11
52013-08-13 Stefan Monnier <monnier@iro.umontreal.ca> 122013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index cf94b6300dd..24f8ac3bade 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -457,7 +457,12 @@ since it could result in memory overflow and make Emacs crash."
457 (scroll-margin windows integer) 457 (scroll-margin windows integer)
458 (hscroll-margin windows integer "22.1") 458 (hscroll-margin windows integer "22.1")
459 (hscroll-step windows number "22.1") 459 (hscroll-step windows number "22.1")
460 (truncate-partial-width-windows display boolean "23.1") 460 (truncate-partial-width-windows
461 display
462 (choice (integer :tag "Truncate if narrower than")
463 (const :tag "Respect `truncate-lines'" nil)
464 (other :tag "Truncate if not full-width" t))
465 "23.1")
461 (make-cursor-line-fully-visible windows boolean) 466 (make-cursor-line-fully-visible windows boolean)
462 (mode-line-in-non-selected-windows mode-line boolean "22.1") 467 (mode-line-in-non-selected-windows mode-line boolean "22.1")
463 (line-number-display-limit display 468 (line-number-display-limit display
diff --git a/lisp/emulation/viper-init.el b/lisp/emulation/viper-init.el
index 76d4632f8c0..aa90344d195 100644
--- a/lisp/emulation/viper-init.el
+++ b/lisp/emulation/viper-init.el
@@ -690,7 +690,7 @@ to a new place after repeating previous Vi command."
690the window will be scrolled up or down appropriately, to reveal context. 690the window will be scrolled up or down appropriately, to reveal context.
691If you want Viper search to behave as usual in Vi, set this variable to a 691If you want Viper search to behave as usual in Vi, set this variable to a
692negative number." 692negative number."
693 :type 'boolean 693 :type 'integer
694 :group 'viper-search) 694 :group 'viper-search)
695 695
696(defcustom viper-re-query-replace t 696(defcustom viper-re-query-replace t
diff --git a/lisp/mail/feedmail.el b/lisp/mail/feedmail.el
index 091b1a03025..7f27599edf2 100644
--- a/lisp/mail/feedmail.el
+++ b/lisp/mail/feedmail.el
@@ -407,8 +407,10 @@ sending immediately. For any other non-nil value, prompt in both
407cases. You can give a timeout for the prompt; see variable 407cases. You can give a timeout for the prompt; see variable
408`feedmail-confirm-outgoing-timeout'." 408`feedmail-confirm-outgoing-timeout'."
409 :group 'feedmail-misc 409 :group 'feedmail-misc
410 :type 'boolean 410 :type '(choice (const nil)
411 ) 411 (const queued)
412 (const immediate)
413 (other t)))
412 414
413 415
414(defcustom feedmail-display-full-frame 'queued 416(defcustom feedmail-display-full-frame 'queued
@@ -425,8 +427,10 @@ it can still be interesting to see a lot about them as they are
425shuttled robotically onward." 427shuttled robotically onward."
426 :version "24.1" 428 :version "24.1"
427 :group 'feedmail-misc 429 :group 'feedmail-misc
428 :type 'boolean 430 :type '(choice (const nil)
429 ) 431 (const queued)
432 (const immediate)
433 (other t)))
430 434
431 435
432(defcustom feedmail-confirm-outgoing-timeout nil 436(defcustom feedmail-confirm-outgoing-timeout nil
@@ -483,8 +487,9 @@ and serially, so slow SMTP conversations can add up to a delay. There
483is an option for either 'first or 'last because you might have a 487is an option for either 'first or 'last because you might have a
484delivery agent that processes the addresses backwards." 488delivery agent that processes the addresses backwards."
485 :group 'feedmail-headers 489 :group 'feedmail-headers
486 :type 'boolean 490 :type '(choice (const nil)
487 ) 491 (const first)
492 (const last)))
488 493
489 494
490(defcustom feedmail-fill-to-cc t 495(defcustom feedmail-fill-to-cc t