You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
496 B
25 lines
496 B
;;; dot-core-advice.el --- -*- lexical-binding: t; -*- |
|
|
|
;;; Commentary: |
|
|
|
;; Advice and Aliases. |
|
|
|
;;; Code: |
|
|
|
;; ----------------------------------------- |
|
|
|
;; Advice |
|
|
|
;; Define default terminal option. |
|
(defun dot/ansi-term (program &optional new-buffer-name) |
|
(interactive (list dot/shell))) |
|
(advice-add 'ansi-term :before #'dot/ansi-term) |
|
|
|
;; Aliases |
|
|
|
;; Make confirm easier, by just pressing y/n. |
|
(defalias 'yes-or-no-p 'y-or-n-p) |
|
|
|
(provide 'dot-core-advice) |
|
|
|
;;; dot-core-advice.el ends here
|
|
|