@@ -665,8 +665,9 @@ corresponding values in the CDR of VALUE."
665
665
,(mapcar (lambda (slot)
666
666
(cl-etypecase slot
667
667
(symbol `(,slot (,(reader slot) ,struct-var)))
668
- (cons `(,(first slot) (,(reader (cl-second slot))
669
- ,struct-var)))))
668
+ (cons `(,(cl-first slot)
669
+ (,(reader (cl-second slot))
670
+ ,struct-var)))))
670
671
slots)
671
672
. ,body)))))
672
673
@@ -1057,8 +1058,8 @@ The rules for selecting the arguments are rather complicated:
1057
1058
(unless arguments
1058
1059
(error "Could not find dylan implementation with the name '%S'" name))
1059
1060
(when (and (= (length arguments) 1)
1060
- (functionp (first arguments)))
1061
- (setf arguments (funcall (first arguments))))
1061
+ (functionp (cl- first arguments)))
1062
+ (setf arguments (funcall (cl- first arguments))))
1062
1063
(cl-destructuring-bind ((prog &rest args) &rest keys) arguments
1063
1064
(cl-list* :name name :program prog :program-args args keys))))
1064
1065
@@ -1105,10 +1106,10 @@ DIRECTORY change to this directory before starting the process.
1105
1106
(defun dime-connect (host port &optional coding-system)
1106
1107
"Connect to a running Swank server. Return the connection."
1107
1108
(interactive (list (read-from-minibuffer
1108
- "Host: " (first dime-connect-host-history)
1109
+ "Host: " (cl- first dime-connect-host-history)
1109
1110
nil nil '(dime-connect-host-history . 1))
1110
1111
(string-to-number (read-from-minibuffer
1111
- "Port: " (first dime-connect-port-history)
1112
+ "Port: " (cl- first dime-connect-port-history)
1112
1113
nil nil '(dime-connect-port-history . 1)))))
1113
1114
(when (and (called-interactively-p 'any) dime-net-processes
1114
1115
(y-or-n-p "Close old connections first? "))
@@ -2651,12 +2652,12 @@ Each newlines and following indentation is replaced by a single space."
2651
2652
(insert (format "cd %s\n%d compiler notes:\n\n"
2652
2653
default-directory (length notes)))
2653
2654
(dolist (notes grouped-notes)
2654
- (let ((loc (gethash (first notes) canonicalized-locs-table))
2655
+ (let ((loc (gethash (cl- first notes) canonicalized-locs-table))
2655
2656
(start (point)))
2656
2657
(insert (dime-canonicalized-location-to-string loc) ":")
2657
2658
(dime-insert-note-group notes)
2658
2659
(insert "\n")
2659
- (dime-make-note-overlay (first notes) start (1- (point))))))
2660
+ (dime-make-note-overlay (cl- first notes) start (1- (point))))))
2660
2661
(set (make-local-variable 'compilation-skip-threshold) 0)
2661
2662
(setq next-error-last-buffer (current-buffer)))))
2662
2663
@@ -3648,7 +3649,7 @@ function name is prompted."
3648
3649
(message "No xref information found for %s." symbol))
3649
3650
((and (dime-length= xrefs 1) ; one group
3650
3651
(dime-length= (cdar xrefs) 1)) ; one ref in group
3651
- (cl-destructuring-bind (_ (_ loc)) (first xrefs)
3652
+ (cl-destructuring-bind (_ (_ loc)) (cl- first xrefs)
3652
3653
(dime-push-definition-stack)
3653
3654
(dime-pop-to-location loc)))
3654
3655
(t
@@ -5221,7 +5222,7 @@ If MORE is non-nil, more frames are on the Dylan stack."
5221
5222
(dime-insert-propertized
5222
5223
`(,@nil dime-debug-default-action dime-debug-fetch-more-frames
5223
5224
dime-debug-previous-frame-number
5224
- ,(dime-debug-frame.number (first (last frames)))
5225
+ ,(dime-debug-frame.number (cl- first (last frames)))
5225
5226
point-entered dime-debug-fetch-more-frames
5226
5227
start-open t
5227
5228
face dime-debug-section-face
@@ -6946,7 +6947,7 @@ Only considers buffers that are not already visible."
6946
6947
descriptions)
6947
6948
(let ((all-bindings (where-is-internal (if (symbolp func)
6948
6949
func
6949
- (first func))
6950
+ (cl- first func))
6950
6951
(symbol-value mode-map)))
6951
6952
(key-bindings '()))
6952
6953
(dolist (binding all-bindings)
@@ -7150,8 +7151,8 @@ and skips comments."
7150
7151
((and (consp e) (symbolp (car e)))
7151
7152
(funcall (let ((head (dime-keywordify (car e))))
7152
7153
(cl-case head
7153
- (:and #'every)
7154
- (:or #'some)
7154
+ (:and #'cl- every)
7155
+ (:or #'cl- some)
7155
7156
(:not
7156
7157
(let ((feature-expression e))
7157
7158
(lambda (f l)
0 commit comments