Commit Graph

15 Commits

Author SHA1 Message Date
66cfbb2563 Fix quit confirmations in daemon; add for frames
+ Add quit confirmation when closing a frame with real buffers
+ Ensure quit confirmations also work in daemon frames (tty or gui)
2017-06-11 16:24:49 +02:00
c7254e7bdc Major optimization refactor, across the board
+ enable lexical-scope everywhere (lexical-binding = t): ~5-10% faster
  startup; ~5-20% general boost
+ reduce consing, function calls & garbage collection by preferring
  cl-loop & dolist over lambda closures (for mapc[ar], add-hook, and
  various cl-lib filter/map/reduce functions) -- where possible
+ prefer functions with dedicated opcodes, like assq (see byte-defop's
  in bytecomp.el for more)
+ prefer pcase & cond (faster) over cl-case
+ general refactor for code readability
+ ensure naming & style conventions are adhered to
+ appease byte-compiler by marking unused variables with underscore
+ defer minor mode activation to after-init, emacs-startup or
  window-setup hooks; a customization opportunity for users + ensures
  custom functionality won't interfere with startup.
2017-06-09 00:47:45 +02:00
e2f06f0692 Fix doom/toggle-line-numbers 2017-05-28 15:39:36 +02:00
8ca6e2630b Bring back nlinum
linum-mode *really* slows down buffers when they're displayed in more
than one window. This lag isn't present in nlinum. nlinum isn't perfect
either but... lesser of two evils.

This includes advisors and an ESC hook to mitigate the issue of
disappearing nlinum line numbers.
2017-05-28 02:48:20 +02:00
656452df00 General cleanup & refactor; update TODO 2017-05-19 17:21:52 +02:00
d6220201d7 Fix #70: doom--window-enlargened error 2017-05-19 15:56:35 +02:00
6eb5f1c8d1 Add doom/window-enlargen (replace C-w o bind) 2017-05-19 03:00:27 +02:00
5491fd552e Replace nlinum with linum 2017-05-13 22:40:52 +02:00
2044872b9b Move doom/reset-theme to ui/doom (and update binding) 2017-05-11 21:45:50 +02:00
3dcc423308 Refactor doom/window-zoom
Inspired by gilbertw1/bmacs's +gdoom/toggle-maximize-buffer
2017-05-11 09:48:26 +02:00
5ae94b765c PRAISE BE TO THE BYTE COMPILER FOR THY SHARP QUOTES 2017-04-17 02:17:10 -04:00
ba9e7a947b Remove provide's in autoload libraries (unnecessary) 2017-04-04 22:16:39 -04:00
a46829a06c Add doom/window-zoom to core/autoload/ui 2017-02-20 00:26:08 -05:00
bc402868a6 Add provide's to module config.el files + fix module header comments 2017-02-20 00:23:08 -05:00
d30027aaea General cleanup 2017-02-20 00:23:05 -05:00