@@ -872,16 +872,14 @@ Note that \"cntrparam\" is not currently supported."
872872 (old-top (gnuplot-gui-get-frame-param 'top )))
873873 (when (or
874874 (and (equal gnuplot-gui-plot-splot-fit-style 'complete )
875- (cl-member word '(" plot" " splot" " fit" )
876- :test 'equal ))
875+ (member word '(" plot" " splot" " fit" )))
877876 (equal word " test" ))
878877 (gnuplot-gui-set-frame-param 'height 32 )
879878 (gnuplot-gui-set-frame-param 'top 50 ))
880879 (gnuplot-gui-prompt-for-frame word)
881880 (when (or
882881 (and (equal gnuplot-gui-plot-splot-fit-style 'complete )
883- (cl-member word '(" plot" " splot" " fit" )
884- :test 'equal ))
882+ (member word '(" plot" " splot" " fit" )))
885883 (equal word " test" ))
886884 (gnuplot-gui-set-frame-param 'height old-height)
887885 (gnuplot-gui-set-frame-param 'top old-top)) ))
@@ -946,8 +944,8 @@ argument, for example an axis label or a font name. It also replaces
946944bounding single quotes with double quotes, since double quotes are
947945used in `gnuplot-gui-all-types' ."
948946 (let (fixed-list quote quoted) ; remove blanks
949- (setq list (cl-remove " \\ s-+" list :test 'string-match )
950- list (cl- remove " " list :test 'equal ))
947+ (setq list (cl-remove " \\ s-+" list :test # 'string-match )
948+ list (remove " " list ))
951949 (while list ; concatinate parts of quoted string
952950 (if (not (string-match " ^\\ ([\]\[ ()'\" ]\\ )" (car list )))
953951 (setq fixed-list (append fixed-list (list (car list ))))
@@ -998,15 +996,15 @@ arguments."
998996 (while temp-list
999997 (cond
1000998 ; ; ---------------------------- list
1001- ((cl-member symbol '(list list*) :test 'equal )
999+ ((memq symbol '(list list*))
10021000 (let* ((case-fold-search nil )
10031001 (match-cons (cl-member (concat " ^" (car temp-list))
1004- values :test 'string-match )))
1002+ values :test # 'string-match )))
10051003 (if (and (car match-cons) ; " " may be first elem. of list
10061004 (not (equal " " (car match-cons))))
10071005 (setq this-cons (cons tag (car match-cons))
10081006 arg-list (cl-remove (car temp-list) arg-list
1009- :test 'equal :count 1 )
1007+ :test # 'equal :count 1 )
10101008 temp-list nil )
10111009 (setq temp-list (cdr temp-list)))))
10121010 ; ; ---------------------------- tag (first number in list)
@@ -1027,16 +1025,16 @@ arguments."
10271025 (string-match " ^[-0-9.]+$" (cadr temp-list)))
10281026 (setq this-cons (cons tag (cadr temp-list))
10291027 arg-list (cl-remove (car temp-list) arg-list
1030- :test 'equal :count 1 )
1028+ :test # 'equal :count 1 )
10311029 arg-list (cl-remove (cadr temp-list) arg-list
1032- :test 'equal :count 1 )
1030+ :test # 'equal :count 1 )
10331031 temp-list nil ))
10341032 ; ; --------------------- number without prefix
10351033 ((and (not prefix)
10361034 (string-match " ^[-0-9.]+$" (car temp-list)))
10371035 (setq this-cons (cons tag (car temp-list))
10381036 arg-list (cl-remove (car temp-list) arg-list
1039- :test 'equal :count 1 )
1037+ :test # 'equal :count 1 )
10401038 temp-list nil ))
10411039 (t
10421040 (setq temp-list (cdr temp-list)))))
@@ -1045,8 +1043,8 @@ arguments."
10451043 (if (and (equal prefix (car temp-list))
10461044 (string-match " ^[-0-9.]+$" (cadr temp-list)))
10471045 (let ((this-car (cadr temp-list))
1048- (this-cdr (if (string-match " ^[-0-9.]+$" (cl- caddr temp-list))
1049- (cl- caddr temp-list) " " )))
1046+ (this-cdr (if (string-match " ^[-0-9.]+$" (caddr temp-list))
1047+ (caddr temp-list) " " )))
10501048 (setq this-cons (cons tag (cons this-car this-cdr))
10511049 temp-list nil ))
10521050 (setq temp-list (cdr temp-list))))
@@ -1062,7 +1060,7 @@ arguments."
10621060 (cons tag (cons (match-string 1 (car temp-list))
10631061 (match-string 2 (car temp-list))))
10641062 arg-list (cl-remove (car temp-list) arg-list
1065- :test 'equal :count 1 )
1063+ :test # 'equal :count 1 )
10661064 temp-list nil )
10671065 (setq temp-list (cdr temp-list)) ))
10681066 ; ; ---------------------------- labels
@@ -1072,7 +1070,7 @@ arguments."
10721070 " )" ) ; closing paren
10731071 (car temp-list))
10741072 (let* ((list (split-string (car temp-list) " [ \t (),]+" ))
1075- (list (cl- remove " " list :test 'equal ))
1073+ (list (remove " " list ))
10761074 (return ()))
10771075 (while list
10781076 (if (string-match " ['\" ]\\ ([^'\" ]*\\ )['\" ]" (car list ))
@@ -1084,28 +1082,28 @@ arguments."
10841082 (setq list (cdr list )) )
10851083 (setq this-cons (cons tag return)
10861084 arg-list (cl-remove (car temp-list) arg-list
1087- :test 'equal :count 1 )
1085+ :test # 'equal :count 1 )
10881086 temp-list nil ))
10891087 (setq temp-list (cdr temp-list))) )
10901088 ; ; ---------------------------- string, file, format
1091- ((cl-member symbol '(string file format) :test 'equal )
1089+ ((memq symbol '(string file format))
10921090 (if (string-match (concat " ['\" ]" ; opening quote
10931091 " \\ ([^'\" ]*\\ )" ; string
10941092 " ['\" ]" ) ; closing quote
10951093 (car temp-list))
10961094 (setq this-cons (cons tag (match-string 0 (car temp-list)))
10971095 arg-list (cl-remove (car temp-list) arg-list
1098- :test 'equal :count 1 )
1096+ :test # 'equal :count 1 )
10991097 temp-list nil )
11001098 (setq temp-list (cdr temp-list)) ))
11011099 ; ; ---------------------------- string*
11021100 ((equal symbol 'string* )
11031101 (if (equal prefix (car temp-list))
11041102 (setq this-cons (cons tag (cadr temp-list))
11051103 arg-list (cl-remove (car temp-list) arg-list
1106- :test 'equal :count 1 )
1104+ :test # 'equal :count 1 )
11071105 arg-list (cl-remove (cadr temp-list) arg-list
1108- :test 'equal :count 1 )
1106+ :test # 'equal :count 1 )
11091107 temp-list nil )
11101108 (setq temp-list (cdr temp-list)) ) )
11111109 ; ; ---------------------------- other or unknown
@@ -1237,19 +1235,19 @@ SAVE-FRAME is non-nil when the widgets are being reset."
12371235 (widget-insert " \t " ) ; insert the appropriate widget
12381236 (cond
12391237 ; ;------------------------------ list, list* ------------
1240- ((cl-member (eval wtype) '(list list*) :test 'equal )
1238+ ((memq (eval wtype) '(list list*))
12411239 (let ((starred (if (equal (eval wtype) 'list* ) t nil )))
12421240 (gnuplot-gui-menu-choice tag default list starred)))
12431241 ; ;------------------------------ number, tag, fontsize --
1244- ((cl-member (eval wtype) '(number tag fontsize) :test 'equal )
1242+ ((memq (eval wtype) '(number tag fontsize))
12451243 (gnuplot-gui-number tag default prefix))
12461244 ; ;------------------------------ position ---------------
12471245 ; ;------------------------------ range, pair ------------
1248- ((cl-member (eval wtype) '(range pair) :test 'equal )
1246+ ((memq (eval wtype) '(range pair))
12491247 (let ((is-range (equal (eval wtype) 'range )))
12501248 (gnuplot-gui-range tag default prefix is-range)))
12511249 ; ;------------------------------ string, string* --------
1252- ((cl-member (eval wtype) '(string string*) :test 'equal )
1250+ ((memq (eval wtype) '(string string*))
12531251 (let ((starred (if (equal (eval wtype) 'string ) nil t )))
12541252 (gnuplot-gui-string tag default prefix starred)))
12551253 ; ;------------------------------ format -----------------
0 commit comments