/[emacs]/emacs/lisp/desktop.el
ViewVC logotype

Diff of /emacs/lisp/desktop.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.48 by monnier, Fri Nov 16 14:32:38 2001 UTC revision 1.49 by rms, Mon Mar 11 09:15:27 2002 UTC
# Line 241  The functions are called without explici Line 241  The functions are called without explici
241  variables `desktop-buffer-major-mode', `desktop-buffer-file-name',  variables `desktop-buffer-major-mode', `desktop-buffer-file-name',
242  `desktop-buffer-name'.  `desktop-buffer-name'.
243  If one function returns non-nil, no further functions are called.  If one function returns non-nil, no further functions are called.
244  If the function returns t then the buffer is considered created."  If the function returns a buffer, then the saved mode settings
245    and variable values for that buffer are copied into it."
246    :type '(repeat function)    :type '(repeat function)
247    :group 'desktop)    :group 'desktop)
248    
# Line 669  to provide correct modes for autoloaded Line 670  to provide correct modes for autoloaded
670            (let ((buf (find-file-noselect desktop-buffer-file-name)))            (let ((buf (find-file-noselect desktop-buffer-file-name)))
671              (condition-case nil              (condition-case nil
672                  (switch-to-buffer buf)                  (switch-to-buffer buf)
673                (error (pop-to-buffer buf))))                (error (pop-to-buffer buf)))
674                buf)
675          'ignored)))          'ignored)))
676  ;; ----------------------------------------------------------------------------  ;; ----------------------------------------------------------------------------
677  ;; Create a buffer, load its file, set is mode, ...;  called from Desktop file  ;; Create a buffer, load its file, set is mode, ...;  called from Desktop file

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26