Skip to content

Commit

Permalink
Use mapc when results not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
amake committed Mar 21, 2024
1 parent 69da14d commit a5ef9d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macports-describe.el
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ Will null-out S-MARKER and E-MARKER markers upon completion."

(defun macports-describe--dispose-markers (&rest markers)
"Dispose of all MARKERS."
(mapcar (lambda (m) (set-marker m nil)) markers))
(mapc (lambda (m) (set-marker m nil)) markers))

(defun macports-describe-port-contents (port)
"Display contents of PORT in a new buffer."
Expand Down

0 comments on commit a5ef9d6

Please sign in to comment.