alias yes-or-nop to y-or-n-p

This commit is contained in:
Ivan Malison 2014-11-19 16:09:27 -08:00
parent 37df87cf38
commit 21719279a7
2 changed files with 7 additions and 2 deletions

View File

@ -17,11 +17,13 @@
skeleton-pair-insert-maybe skeleton-pair-insert-maybe
tern-ac-dot-complete tern-ac-dot-complete
universal-argument-minus universal-argument-minus
wdired-finish-edit
)) ))
(setq mc/cmds-to-run-once (setq mc/cmds-to-run-once
'( '(
delete-horizontal-space delete-horizontal-space
dired-toggle-read-only
isearch-delete-char isearch-delete-char
smex smex
)) ))

View File

@ -100,17 +100,19 @@
exec-path-from-shell slime string-inflection yaml-mode sgml-mode exec-path-from-shell slime string-inflection yaml-mode sgml-mode
dired+ ctags ctags-update helm-gtags hackernews gitconfig-mode dired+ ctags ctags-update helm-gtags hackernews gitconfig-mode
aggressive-indent imenu+ weechat evil helm-ag xclip neotree aggressive-indent imenu+ weechat evil helm-ag xclip neotree
magit-gh-pulls diminish gist org spotify)) magit-gh-pulls diminish gist org spotify ghc))
(defvar packages-appearance (defvar packages-appearance
'(monokai-theme solarized-theme zenburn-theme base16-theme molokai-theme '(monokai-theme solarized-theme zenburn-theme base16-theme molokai-theme
tango-2-theme gotham-theme color-theme-sanityinc-tomorrow smart-mode-line tango-2-theme gotham-theme smart-mode-line
rainbow-delimiters ansi-color)) rainbow-delimiters ansi-color))
(ensure-packages-installed packages-essential) (ensure-packages-installed packages-essential)
(ensure-packages-installed packages-other) (ensure-packages-installed packages-other)
(ensure-packages-installed packages-appearance) (ensure-packages-installed packages-appearance)
(defalias 'yes-or-no-p 'y-or-n-p)
;; ============================================================================= ;; =============================================================================
;; General Emacs Options ;; General Emacs Options
;; ============================================================================= ;; =============================================================================
@ -210,6 +212,7 @@
(use-package undo-tree (use-package undo-tree
:ensure t :ensure t
:bind ("C-c u" . undo-tree-visualize)
:init :init
(progn (progn
(global-undo-tree-mode) (global-undo-tree-mode)