Commit graph

108 commits

Author SHA1 Message Date
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
Bozhidar Batsov
381dc28439 Exclude magit's commit message files in recentf 2014-05-25 14:00:10 +03:00
Bozhidar Batsov
cc5a2ed2dd Merge pull request #532 from tatsuhirosatou/fixTrampRecentf
Fixes bbatsov/prelude#528
2014-05-21 09:33:03 +03:00
Tu Do
5bf38b05da Add operate-on-number
Replace prelude functions for increment and decrement of numbers.

Signed-off-by: Tu Do <tu.h.do@dektech.com.au>
2014-05-21 13:07:33 +07:00
Geoff Shannon
5ffa4bb187 Pull Prelude's custom variables into a new file
This is so we can define a custom variable to use in prelude-core
2014-05-15 13:36:57 -07:00
Gabriel J. Pérez Irizarry
055ce06b38 Fixes bbatsov/prelude#528 2014-05-09 12:07:55 -04:00
Bozhidar Batsov
0c93a1c542 Ignore in recentf all files from the elpa dir and the savefile dir 2014-04-30 12:46:32 +03:00
Bozhidar Batsov
e7d9555bc3 Remove a couple of kill-related advices
Those are made redundant by the awesome easy-kill.
2014-04-19 15:05:09 +03:00
Bozhidar Batsov
b51eeff933 Colorize compilation buffers out-of-the-box 2014-04-19 10:29:14 +03:00
Bozhidar Batsov
41da475ed4 Save all buffers on focus lost 2014-04-14 17:54:13 +03:00
Bozhidar Batsov
244fe33296 Merge branch 'master' of github.com:bbatsov/prelude
Conflicts:
	core/prelude-editor.el
2014-04-14 17:41:16 +03:00
Bozhidar Batsov
5538bb77b9 Add diff-hl package 2014-04-14 17:40:34 +03:00