mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Merge pull request #1594 from filalex77/fix-lambda-prefix-quoting
Fix quoting of command in λ!!
This commit is contained in:
@ -180,9 +180,9 @@ at the values with which this function was called."
|
|||||||
(defun λ!! (command &optional arg)
|
(defun λ!! (command &optional arg)
|
||||||
"Expands to a command that interactively calls COMMAND with prefix ARG."
|
"Expands to a command that interactively calls COMMAND with prefix ARG."
|
||||||
(declare (doc-string 1))
|
(declare (doc-string 1))
|
||||||
`(lambda () (interactive)
|
(lambda () (interactive)
|
||||||
(let ((current-prefix-arg ,arg))
|
(let ((current-prefix-arg arg))
|
||||||
(call-interactively ,command))))
|
(call-interactively command))))
|
||||||
(defalias 'lambda!! 'λ!!)
|
(defalias 'lambda!! 'λ!!)
|
||||||
|
|
||||||
(define-obsolete-function-alias 'FILE! 'file!) ; DEPRECATED
|
(define-obsolete-function-alias 'FILE! 'file!) ; DEPRECATED
|
||||||
|
Reference in New Issue
Block a user