Move insert-pair-alist setting to its correct place
This commit is contained in:
parent
0ad4d372fe
commit
80b92ec9f4
@ -91,7 +91,7 @@
|
||||
|
||||
** Set up the really basic things
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
#+begin_src emacs-lisp
|
||||
(use-package emacs
|
||||
:ensure nil
|
||||
:custom
|
||||
@ -101,8 +101,22 @@
|
||||
(use-dialog-box nil)
|
||||
(cursor-type 'bar)
|
||||
(echo-keystrokes .01)
|
||||
(fill-column 80))
|
||||
#+END_SRC
|
||||
(fill-column 80)
|
||||
(insert-pair-alist '((40 41) ; ()
|
||||
(91 93) ; []
|
||||
(123 125) ; {}
|
||||
(60 62) ; <>
|
||||
(34 34) ; ""
|
||||
(39 39) ; ''
|
||||
(96 39) ; `'
|
||||
(8220 8221) ; “”
|
||||
(8222 8221) ; „”
|
||||
(8216 8217) ; ‘’
|
||||
(8249 8250) ; ‹›
|
||||
(8250 8249) ; ›‹
|
||||
(171 187) ; «»
|
||||
(187 171)))) ; »«
|
||||
#+end_src
|
||||
|
||||
** Set up some default faces
|
||||
|
||||
@ -1342,29 +1356,6 @@ And set up all the pretty symbols.
|
||||
(">=" . ?≥)))
|
||||
#+END_SRC
|
||||
|
||||
…and some pairs to complete
|
||||
|
||||
*************** TODO Maybe add-to-list is a better way to do it
|
||||
*************** END
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq insert-pair-alist '(
|
||||
(40 41) ; ()
|
||||
(91 93) ; []
|
||||
(123 125) ; {}
|
||||
(60 62) ; <>
|
||||
(34 34) ; ""
|
||||
(39 39) ; ''
|
||||
(96 39) ; `'
|
||||
(8220 8221) ; “”
|
||||
(8222 8221) ; „”
|
||||
(8216 8217) ; ‘’
|
||||
(8249 8250) ; ‹›
|
||||
(8250 8249) ; ›‹
|
||||
(171 187) ; «»
|
||||
(187 171))) ; »«
|
||||
#+END_SRC
|
||||
|
||||
Finally, set the frame title to the current file name
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
Loading…
Reference in New Issue
Block a user