functions: Remove unused shell-last-command
parent
dafb9d8e13
commit
5183b7124e
|
@ -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."
|
||||
|
|
Loading…
Reference in New Issue