fix parens bug

This commit is contained in:
Thomas von Dein
2018-11-17 11:26:50 +01:00
parent afb3147ea4
commit c406f70dfa
2 changed files with 515 additions and 496 deletions

9
.emacs
View File

@@ -708,6 +708,7 @@
;; 20181117.01 ;; 20181117.01
;; - disabled outline C-<left> it overwrote sp slurp left ;; - disabled outline C-<left> it overwrote sp slurp left
;; - enhanced emacs-changelog ;; - enhanced emacs-changelog
;; - fixed parens bug, added sp ti monibuffer
;; ** TODO ;; ** TODO
@@ -2198,6 +2199,12 @@ Used when enabling smartparens-mode."
(when paredit-mode (when paredit-mode
(disable-paredit-mode)))) (disable-paredit-mode))))
;; enable sp in minibuffer as well
;; maybe, see: https://github.com/Fuco1/smartparens/issues/33:
;; (sp-local-pair 'minibuffer-inactive-mode "'" nil :actions nil)
(setq sp-ignore-modes-list
(delete 'minibuffer-inactive-mode sp-ignore-modes-list))
;; automatically enable where needed ;; automatically enable where needed
(add-something-to-mode-hooks (add-something-to-mode-hooks
'(emacs-lisp ielm lisp lisp-interaction scheme slime-repl ) 'smartparens-mode) '(emacs-lisp ielm lisp lisp-interaction scheme slime-repl ) 'smartparens-mode)
@@ -3393,7 +3400,7 @@ Returns t if version changed, nil otherwise."
(format "\"%s\"" v)) (format "\"%s\"" v))
(setq tvd-emacs-version v) (setq tvd-emacs-version v)
(message (format "New config version set: %s" v)) (message (format "New config version set: %s" v))
t) t)))
(defun emacs-change-log (entry) (defun emacs-change-log (entry)
"Add a changelog entry to .emacs Changelog" "Add a changelog entry to .emacs Changelog"

File diff suppressed because it is too large Load Diff