Commit graph

15 commits

Author SHA1 Message Date
Eric Wang
4ea5bbcc9c
fix(upload): deploy force on explicit save
Fix: #5773
2021-11-18 19:08:21 +01:00
Henrik Lissner
d0dacce085 tools/upload: correct variable name
Fixes #5077

Co-authored-by: KARASZI István <github@spam.raszi.hu>
2021-05-21 23:13:09 -04:00
Henrik Lissner
2d365619cd
General refactor & cleanup, across the board 2019-09-13 22:00:34 -04:00
Henrik Lissner
76cacb5bfe
💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
Henrik Lissner
7214affc73 tools/upload: set ssh-deploy vars sooner
So that they don't overwrite file/dir local vars in some cases.
2018-12-05 22:11:54 -05:00
Henrik Lissner
25d19514de
tools/upload: refactor safe-local-variable setters 2018-09-19 23:58:01 -04:00
Henrik Lissner
e0e63850d4
tools/upload: mark file-local variables as safe 2018-09-19 23:51:56 -04:00
Henrik Lissner
40a2fffac7
tools/upload: clarify instructions in comments 2018-09-19 23:48:05 -04:00
Henrik Lissner
12a938d888
tools/upload: fix ssh-deploy-browse-remote-handler autoload 2018-02-21 16:46:31 -05:00
Henrik Lissner
f8e8dbad8f
General minor refactor 2017-12-08 23:14:12 -05:00
Henrik Lissner
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
Henrik Lissner
1c31381bfd tools/upload: redocument + refactor 2017-04-16 16:09:01 -04:00
Henrik Lissner
fe3159dae9 tools/*: fix path tags + tmux command autoloads 2017-04-09 22:25:18 -04:00
Henrik Lissner
33c88d4f82 Revert macros to ...! name convention (elisp doesn't like @...) 2017-02-23 00:06:12 -05:00
Henrik Lissner
6e7f686604 Add modules/tools/upload 2017-02-20 00:26:08 -05:00