Commit graph

119 commits

Author SHA1 Message Date
Bozhidar Batsov 416ffd3bbf Bump the copyright years 2022-06-03 08:09:25 +03:00
Hung Dang 36b3950d7d
Fix "Symbol's value as variable is void: kill-region" errors in Emacs 29.0.50 (#1356) 2022-04-11 09:10:23 +03:00
Bozhidar Batsov c38ad8e516 Release Prelude 1.1 2021-02-14 12:31:04 +02:00
Bozhidar Batsov 0ebba48c93 Clean up the modeline a bit 2020-11-24 09:40:14 +02:00
Bozhidar Batsov d180bb71b3 Move some config where it belongs 2020-10-09 17:39:45 +03:00
Bozhidar Batsov edeef9ee4b Make the file metadata more uniform 2020-09-15 09:19:15 +03:00
Bozhidar Batsov dd9b01a991 Bump the copyright years 2020-01-20 16:35:36 +02:00
Bozhidar Batsov 10956aca3b Teach super-save about ace-window 2018-09-29 11:41:23 +03:00
Bozhidar Batsov 6811b60486 [Fix #1194] Restore the advise-commands macro
I didn't notice that it had other usages in the code when I deleted
it in the commit introducing super-save.
2018-09-28 18:41:39 +03:00
Bozhidar Batsov e7b42d1e5c Replace Prelude's auto-save functionality with super-save
Prelude's auto-save logic was extracted in the super-save packaged
and polished a bit there.
2018-09-28 16:57:17 +03:00
Bozhidar Batsov fef1988eac Clean up prelude-mode
* Move the mode menu top-level, so it's easier to discover
* Make prelude-mode a global mode and remove prelude-global-mode
2018-09-28 09:13:55 +03:00
Bozhidar Batsov c28686af80 Require Emacs 25.1 2018-07-10 09:01:24 +03:00
Bozhidar Batsov 79c2e6fb40 Update a reference to projectile-global-mode 2018-07-10 08:53:18 +03:00
Bozhidar Batsov 007ae88ed2 Replace dash with the built-in cl-lib 2018-05-08 22:54:42 +03:00
Bozhidar Batsov bf57696835 Update the copyright years 2018-05-06 09:21:24 +03:00
Bozhidar Batsov e0ca7c7003 Update the copyright years 2017-01-04 01:20:26 +02:00
Jan Ehrhardt 7b4fdcaa0d Use settings from .editorconfig file (#1008)
When an .editorconfig file is present in the project, it should be
used.
2017-01-04 01:07:37 +02:00
Joel Holder 2a49600680 Update saveplace to work with Emacs 25 (#1046) 2016-10-26 08:36:17 +02:00
Rahiel Kasim 7551ed6e33 Wrap kill-region with defadvice from crux (#1035) 2016-09-25 07:58:06 +03:00
Mohit Thatte 02e0c2fc41 Add a hook to magit that notifies diff-hl
- as per the diff-hl-mode README
  If you're using a version before 2.4.0, it defines
  magit-revert-buffer-hook (or magit-not-reverted-hook),
  which we use.

  When using Magit 2.4 or newer, add this to your init script:
  (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)
2016-04-06 22:37:41 +05:30
Syohei YOSHIDA 526ffaaeca Fix non dotted pair element issue
Every element of auto-mode-list are not dotted pair. For example
.gpg, .gz etc. assoc-default returns list for such buffer names and
funcall raises error because it is not function.
2016-02-13 12:22:59 +09:00
Bozhidar Batsov ebd6e9d591 Update the copyright years 2016-01-31 08:44:18 +02:00
Bozhidar Batsov 0c4457e1c8 Remove duplicated line 2015-12-19 16:53:56 +02:00
toctan 2160bd34a5 [Fix #902] Fix kill-region advice 2015-09-10 16:30:30 +08:00
toctan 535e054208 [Fix #899] Make the kill-region advice play nice with rectangle-mark-mode 2015-09-06 13:57:15 +08:00
Jonas Bernoulli 5e487e5f85 Don't add COMMIT_EDITMSG to recentf-exclude
Loading `git-commit.el' now already does that.
2015-06-27 16:17:29 +02:00
Bozhidar Batsov 7a5e798d03 Track upstream changes in avy 2015-05-11 12:44:30 +03:00
Bozhidar Batsov b2947f2164 Replace ace-jump-mode with avy 2015-05-09 13:02:43 +03:00
Andrzej Pronobis 925ed507b1 Fixed the problem with ido/untabify defadvice triggering got redefined error 2015-03-12 20:26:20 -07:00
Bozhidar Batsov c2da437aa4 Update copyright years 2015-03-03 13:04:34 +02:00
Bozhidar Batsov 19f71e5937 [Fix #813] Add missing smartrep require 2015-02-22 20:25:34 +02:00
roryk 63687ccb10 autosave undo history 2014-12-30 12:31:18 -05:00
Bozhidar Batsov 76c2e99070 Merge pull request #761 from k1-hedayati/restore-kill-region-defadvice
[Fix #623] Restored kill-region defadvice
2014-12-22 09:10:26 +02:00
Bozhidar Batsov f19aeda388 Merge pull request #762 from k1-hedayati/remove-ack
[Close #547] Removed ack-and-a-half from prelude
2014-12-22 09:09:42 +02:00
Keyvan Hedayati bd97b03872 [Close #547] Removed ack-and-a-half from prelude 2014-12-22 10:29:49 +03:30
Keyvan Hedayati daf52c2b0a [Fix #623] Restored kill-region defadvice
When no region selected `C-w` kills current line
2014-12-22 09:53:12 +03:30
Bozhidar Batsov dc82375714 Update copyright years 2014-12-07 11:37:46 +02:00
lexa 8c55c6f4bb Added helper to open file with emacsclient using filename:line path
Most of console-based utilities prints filename in format
"filename:linenumber". So you may wish to open filename in that format.
This little 'advice' can do that. Just call

emacsclient filename:linenumber

and cursor will be positioned on requested line
2014-11-30 22:18:25 +03:00
Fanael Linithien 502b82eb52 Tell savehist to actually save "search-ring"…
…instead of "search" and "ring".
2014-09-09 19:18:20 +02:00
Bozhidar Batsov 35c0937784 Use anzu for query-replace 2014-08-28 18:40:43 +03:00
Bozhidar Batsov a7bae36f8a Merge pull request #592 from toctan/set-buffer-major-mode
Set new special buffer mode according to `auto-mode-alist'
2014-07-15 13:10:10 +03:00
Bozhidar Batsov fa40fc8a7e [Fix #604] Save only the current buffer on focus lost 2014-07-14 18:54:49 +03:00
toctan bc53a7008a Set buffer mode according to `auto-mode-alist'
With this, after we create a special buffer, the major-mode get set
automatically. For example, we create a new buffer named "ruby.rb",
`ruby-mode` was automatically enabled.
2014-07-01 20:47:15 +08:00
toctan 3ac1cc8f00 Remove duplication advice of yank and yank-pop 2014-06-25 10:21:51 +08:00
toctan 491bc0617f Do not indent region with indent sensitive modes
- Rename and move yank indent vars into prelude-custom.el
- Add coffee-mode to prelude-indent-sensitive-modes
- Do not mess up indentation when cleanup with indentation sensitive
  modes, such as Python.
2014-06-25 10:21:51 +08:00
toctan d226fd63f7 Clean up prelude-cleanup-buffer code
- Create a macro `with-region-or-buffer` to replace the prelude wrapper
  around `untabify` and `indent-region`
- Remove the function operated on buffers, cause we only need the dwim
  one
2014-06-25 10:21:51 +08:00
toctan ba2272a690 Prefer advice over remap exchange-point-and-mark 2014-06-08 13:18:06 +08:00
Tu Do ca9dc4676c Update document and operate-on-number key bindings
Signed-off-by: Tu Do <tuhdo1710@gmail.com>
2014-05-29 11:10:04 +07:00
toctan 93d73e0f93 Newline at end of file 2014-05-27 00:05:29 +08:00
Bozhidar Batsov 94a0dde302 Code style 2014-05-25 14:02:48 +03:00