Skip to content

Commit

Permalink
fixup! compile: Extract double-prefix=comint from projectile configur…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
mohkale committed Apr 21, 2024
1 parent 6e76bfd commit 74ad475
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion init.org
Original file line number Diff line number Diff line change
Expand Up @@ -8152,7 +8152,8 @@ Welcome to my personal Emacs configuration 😎.
(defun compile--double-prefix-means-run-comint+ (args)
"Override prefix behaviour for `compile'.
Only run compile in comint when `current-prefix-arg' is C-u C-u."
(unless (eq (car-safe current-prefix-arg) 16)
(when (and (cadr args)
(not (eq (car-safe current-prefix-arg) 16)))
(setf (cadr args) nil))
args)

Expand Down

0 comments on commit 74ad475

Please sign in to comment.