Skip to content

Commit

Permalink
emacs: fix accents
Browse files Browse the repository at this point in the history
  • Loading branch information
SqrtMinusOne committed Aug 25, 2024
1 parent e2097bb commit 5aa893e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .emacs.d/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."

(defun my/accent (arg)
(interactive "P")
(require 'accent)
(message "%s" arg)
(let* ((after? (eq accent-position 'after))
(char (if after? (char-after) (char-before)))
Expand Down
1 change: 1 addition & 0 deletions Emacs.org
Original file line number Diff line number Diff line change
Expand Up @@ -1051,6 +1051,7 @@ Input accented characters.

(defun my/accent (arg)
(interactive "P")
(require 'accent)
(message "%s" arg)
(let* ((after? (eq accent-position 'after))
(char (if after? (char-after) (char-before)))
Expand Down

0 comments on commit 5aa893e

Please sign in to comment.