Mercurial > emacs
comparison lisp/desktop.el @ 59487:c1de47aaf80f
(desktop-save): Add `mode: emacs-lisp' to the local
variables line in desktop files.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Wed, 12 Jan 2005 00:51:17 +0000 |
parents | 1b7f2dc9f5f6 |
children | aac0a33f5772 cb67264d6096 |
comparison
equal
deleted
inserted
replaced
59486:3b3f211ffa93 | 59487:c1de47aaf80f |
---|---|
651 (buf (get-buffer-create "*desktop*"))) | 651 (buf (get-buffer-create "*desktop*"))) |
652 (set-buffer buf) | 652 (set-buffer buf) |
653 (erase-buffer) | 653 (erase-buffer) |
654 | 654 |
655 (insert | 655 (insert |
656 ";; -*- coding: emacs-mule; -*-\n" | 656 ";; -*- mode: emacs-lisp; coding: emacs-mule; -*-\n" |
657 desktop-header | 657 desktop-header |
658 ";; Created " (current-time-string) "\n" | 658 ";; Created " (current-time-string) "\n" |
659 ";; Desktop file format version " desktop-file-version "\n" | 659 ";; Desktop file format version " desktop-file-version "\n" |
660 ";; Emacs version " emacs-version "\n\n" | 660 ";; Emacs version " emacs-version "\n\n" |
661 ";; Global section:\n") | 661 ";; Global section:\n") |