Skip to main content

david miller's Library tagged emacs   View Popular

27 Nov 09

Emacs Lisp Examples

"(defun previous-user-buffer () "Switch to the previous user buffer in cyclic order.\n User buffers are those not starting with *." (interactive) (previous-buffer) (let ((i 0)) (while (and (string-match "^*" (buffer-name)) (< i 50)) (setq i (1+ i)) (previous-buffer) ))) "

xahlee.org/...elisp_examples.html - Preview

emacs

06 Aug 09

gnu emacs backup files - snarfed.org

;; Put backup files (ie foo~) in one place too. (The backup-directory-alist ;; list contains regexp=>directory mappings; filenames matching a regexp are ;; backed up in the corresponding directory. Emacs will mkdir it if necessary.) (defvar backup-dir (concat "/tmp/emacs_backups/" (user-login-name) "/")) (setq backup-directory-alist (list (cons "." backup-dir)))

snarfed.org/...gnu%20emacs%20backup%20files - Preview

emacs

1 - 20 of 27 Next ›
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo