Bozhidar Batsov
edeef9ee4b
Make the file metadata more uniform
5 years ago
Bozhidar Batsov
dd9b01a991
Bump the copyright years
6 years ago
Bozhidar Batsov
10956aca3b
Teach super-save about ace-window
7 years ago
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.
7 years ago
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.
7 years ago
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
7 years ago
Bozhidar Batsov
c28686af80
Require Emacs 25.1
8 years ago
Bozhidar Batsov
79c2e6fb40
Update a reference to projectile-global-mode
8 years ago
Bozhidar Batsov
007ae88ed2
Replace dash with the built-in cl-lib
8 years ago
Bozhidar Batsov
bf57696835
Update the copyright years
8 years ago
Bozhidar Batsov
e0ca7c7003
Update the copyright years
9 years ago
Jan Ehrhardt
7b4fdcaa0d
Use settings from .editorconfig file ( #1008 )
When an .editorconfig file is present in the project, it should be
used.
9 years ago
Joel Holder
2a49600680
Update saveplace to work with Emacs 25 ( #1046 )
9 years ago
Rahiel Kasim
7551ed6e33
Wrap kill-region with defadvice from crux ( #1035 )
9 years ago
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)
10 years ago
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.
10 years ago
Bozhidar Batsov
ebd6e9d591
Update the copyright years
10 years ago
Bozhidar Batsov
0c4457e1c8
Remove duplicated line
10 years ago
toctan
2160bd34a5
[ Fix #902 ] Fix kill-region advice
10 years ago
toctan
535e054208
[ Fix #899 ] Make the kill-region advice play nice with rectangle-mark-mode
10 years ago
Jonas Bernoulli
5e487e5f85
Don't add COMMIT_EDITMSG to recentf-exclude
Loading `git-commit.el' now already does that.
11 years ago
Bozhidar Batsov
7a5e798d03
Track upstream changes in avy
11 years ago
Bozhidar Batsov
b2947f2164
Replace ace-jump-mode with avy
11 years ago
Andrzej Pronobis
925ed507b1
Fixed the problem with ido/untabify defadvice triggering got redefined error
11 years ago
Bozhidar Batsov
c2da437aa4
Update copyright years
11 years ago
Bozhidar Batsov
19f71e5937
[ Fix #813 ] Add missing smartrep require
11 years ago
roryk
63687ccb10
autosave undo history
11 years ago
Keyvan Hedayati
bd97b03872
[ Close #547 ] Removed ack-and-a-half from prelude
11 years ago
Keyvan Hedayati
daf52c2b0a
[ Fix #623 ] Restored kill-region defadvice
When no region selected `C-w` kills current line
11 years ago
Bozhidar Batsov
dc82375714
Update copyright years
11 years ago
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
11 years ago
Fanael Linithien
502b82eb52
Tell savehist to actually save "search-ring"…
…instead of "search" and "ring".
11 years ago
Bozhidar Batsov
35c0937784
Use anzu for query-replace
11 years ago
Bozhidar Batsov
fa40fc8a7e
[ Fix #604 ] Save only the current buffer on focus lost
12 years ago
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.
12 years ago
toctan
3ac1cc8f00
Remove duplication advice of yank and yank-pop
12 years ago
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.
12 years ago
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
12 years ago
toctan
ba2272a690
Prefer advice over remap exchange-point-and-mark
12 years ago
Tu Do
ca9dc4676c
Update document and operate-on-number key bindings
Signed-off-by: Tu Do <tuhdo1710@gmail.com>
12 years ago
toctan
93d73e0f93
Newline at end of file
12 years ago
Bozhidar Batsov
94a0dde302
Code style
12 years ago
Bozhidar Batsov
381dc28439
Exclude magit's commit message files in recentf
12 years ago
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>
12 years ago
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
12 years ago
Gabriel J. Pérez Irizarry
055ce06b38
Fixes bbatsov/prelude#528
12 years ago
Bozhidar Batsov
0c93a1c542
Ignore in recentf all files from the elpa dir and the savefile dir
12 years ago
Bozhidar Batsov
e7d9555bc3
Remove a couple of kill-related advices
Those are made redundant by the awesome easy-kill.
12 years ago
Bozhidar Batsov
b51eeff933
Colorize compilation buffers out-of-the-box
12 years ago
Bozhidar Batsov
41da475ed4
Save all buffers on focus lost
12 years ago