functions: Remove unused shell-last-command

master
Pierre Neidhardt 2019-03-03 13:24:22 +01:00
parent dafb9d8e13
commit 5183b7124e
1 changed files with 0 additions and 9 deletions

View File

@ -192,15 +192,6 @@ If DIR-LEFT is t, then move left, otherwise move right."
"Reset `fill-column' to its default value."
(setq fill-column (default-value 'fill-column)))
(defun ambrevar/shell-last-command ()
"Run last shell command."
(interactive)
(let ((last (car shell-command-history)))
(if last
(shell-command last)
(error "Shell command history is empty"))))
(global-set-key (kbd "C-M-!") 'shell-last-command)
(defun ambrevar/skeleton-make-markers ()
"Save last skeleton markers in a list.
Hook function for skeletons."