Created
July 3, 2020 15:49
-
-
Save errge/a584ab67e9b189fea6d36c4186b9bd5e to your computer and use it in GitHub Desktop.
dot-emacs.el
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; (package-initialize) | |
(setq nce/accepted-version "26.3") | |
(load "/home/errge/work/nilcons-emacs/bin/init.elc" nil t) | |
(defun increment-number-at-point () | |
(interactive) | |
(skip-chars-backward "0-9") | |
(or (looking-at "[0-9]+") | |
(error "No number at point")) | |
(replace-match (number-to-string (1+ (string-to-number (match-string 0)))))) | |
(global-set-key (kbd "C-c +") 'increment-number-at-point) | |
(setq inhibit-startup-echo-area-message "errge" | |
compilation-read-command nil | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment