Thanks,
both solutions work for me (Emacs 23.1.1, Ubuntu 10.10).
Search found 2 matches
- Fri May 20, 2011 1:44 pm
- Forum: Emacs Lisp
- Topic: Incorrect copying when duplicating line - key binding proble
- Replies: 3
- Views: 12525
- Thu May 19, 2011 10:39 am
- Forum: Emacs Lisp
- Topic: Incorrect copying when duplicating line - key binding proble
- Replies: 3
- Views: 12525
Incorrect copying when duplicating line - key binding proble
hey guys, I wrote code like this: (defun copy-char-from-line-above () "Copies one character from same column but previous row" (interactive) (let (c) (save-excursion (previous-line) (setq c (buffer-substring-no-properties (point) (+ (point) 1))) ) (insert c) ) ) (defalias 'cup 'copy-char-f...