aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Marshall1997-06-19 09:04:09 +0000
committerSimon Marshall1997-06-19 09:04:09 +0000
commit4b384a8f6f6e6031ae82fd79f40e34ccc92cb159 (patch)
tree98b8347c4377430c7d6f40e0d1de54d37515adcf
parent52bb674b93a4b6b69fe00f4c2da5e564b1543d8e (diff)
downloademacs-4b384a8f6f6e6031ae82fd79f40e34ccc92cb159.tar.gz
emacs-4b384a8f6f6e6031ae82fd79f40e34ccc92cb159.zip
Create paren-blinking custom group and put all blink-matching-paren variables in it.
-rw-r--r--lisp/simple.el29
1 files changed, 16 insertions, 13 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 59abd525a1a..21b6815b3a8 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -38,8 +38,6 @@
38 38
39(defgroup paren-matching nil 39(defgroup paren-matching nil
40 "Highlight (un)matching of parens and expressions." 40 "Highlight (un)matching of parens and expressions."
41 :prefix "paren-"
42 :prefix "blink-matching-"
43 :group 'matching) 41 :group 'matching)
44 42
45 43
@@ -2878,32 +2876,37 @@ in the mode line."
2878 (> (prefix-numeric-value arg) 0))) 2876 (> (prefix-numeric-value arg) 0)))
2879 (force-mode-line-update)) 2877 (force-mode-line-update))
2880 2878
2879(defgroup paren-blinking nil
2880 "Blinking (un)matching of parens and expressions."
2881 :prefix "blink-matching-"
2882 :group 'paren-matching)
2883
2881(defcustom blink-matching-paren t 2884(defcustom blink-matching-paren t
2882 "*Non-nil means show matching open-paren when close-paren is inserted." 2885 "*Non-nil means show matching open-paren when close-paren is inserted."
2883 :type 'boolean 2886 :type 'boolean
2884 :group 'paren-matching) 2887 :group 'paren-blinking)
2885 2888
2886(defcustom blink-matching-paren-on-screen t 2889(defcustom blink-matching-paren-on-screen t
2887 "*Non-nil means show matching open-paren when it is on screen. 2890 "*Non-nil means show matching open-paren when it is on screen.
2888nil means don't show it (but the open-paren can still be shown 2891If nil, means don't show it (but the open-paren can still be shown
2889when it is off screen." 2892when it is off screen)."
2890 :type 'boolean 2893 :type 'boolean
2891 :group 'paren-matching) 2894 :group 'paren-blinking)
2892 2895
2893(defcustom blink-matching-paren-distance 12000 2896(defcustom blink-matching-paren-distance (* 25 1024)
2894 "*If non-nil, is maximum distance to search for matching open-paren." 2897 "*If non-nil, is maximum distance to search for matching open-paren."
2895 :type 'integer 2898 :type 'integer
2896 :group 'paren-matching) 2899 :group 'paren-blinking)
2897 2900
2898(defcustom blink-matching-delay 1 2901(defcustom blink-matching-delay 1
2899 "*The number of seconds that `blink-matching-open' will delay at a match." 2902 "*Time in seconds to delay after showing a matching paren."
2900 :type 'integer 2903 :type 'number
2901 :group 'paren-matching) 2904 :group 'paren-blinking)
2902 2905
2903(defcustom blink-matching-paren-dont-ignore-comments nil 2906(defcustom blink-matching-paren-dont-ignore-comments nil
2904 "*Non-nil means `blink-matching-paren' should not ignore comments." 2907 "*Non-nil means `blink-matching-paren' will not ignore comments."
2905 :type 'boolean 2908 :type 'boolean
2906 :group 'paren-matching) 2909 :group 'paren-blinking)
2907 2910
2908(defun blink-matching-open () 2911(defun blink-matching-open ()
2909 "Move cursor momentarily to the beginning of the sexp before point." 2912 "Move cursor momentarily to the beginning of the sexp before point."