aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMiles Bader2007-08-03 05:49:59 +0000
committerMiles Bader2007-08-03 05:49:59 +0000
commit0896d93184a719bc994a3e699de27190aac0acb1 (patch)
tree1bd6a3e4b44323c46e4a679adb4bbd3b0b8b3c93 /src
parent84d04702f47babb6e1323acc6c1bd4c761b53231 (diff)
parent5716cebdd05ad26a4c3aa57c8ebf2890d4b937f6 (diff)
downloademacs-0896d93184a719bc994a3e699de27190aac0acb1.tar.gz
emacs-0896d93184a719bc994a3e699de27190aac0acb1.zip
Merge from emacs--rel--22
Patches applied: * emacs--rel--22 (patch 84-87) - Update from CVS - Change capitalization of VC backend names for new backends 2007-08-02 Richard M. Stallman <rms@gnu.org> * lisp/mail/rmailsum.el (rmail-make-summary-line): Find end of msg number to update deleted flag. * lisp/cus-edit.el (customize-apropos, customize-apropos-options) (customize-apropos-faces, customize-apropos-groups): Improve prompt. * lisp/menu-bar.el (menu-bar-help-menu): Add "About GNU" menu item. * lisp/startup.el (fancy-splash-head, startup-echo-area-message): Change message text. * lisp/emulation/tpu-edt.el (next-line-internal): Setting deleted. All callers use line-move. * lisp/progmodes/compile.el (compilation-find-buffer): Return current buffer immediately if suitable. (compile, compilation-buffer-name, compilation-start): Doc fixes. 2007-07-31 Daiki Ueno <ueno@unixuser.org> * lisp/faces.el (face-normalize-spec): New function. (frame-set-background-mode): Normalize face-spec before calling face-spec-match-p. 2007-07-31 Stefan Monnier <monnier@iro.umontreal.ca> * lisp/server.el (server-window): Add switch-to-buffer-other-frame option. 2007-08-03 Richard M. Stallman <rms@gnu.org> * src/fileio.c (Fvisited_file_modtime): Use make_time. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-844
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/fileio.c8
-rw-r--r--src/xselect.c6
3 files changed, 10 insertions, 8 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f26f918c941..87376db4e7f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12007-08-03 Richard Stallman <rms@gnu.org>
2
3 * fileio.c (Fvisited_file_modtime): Use make_time.
4
12007-08-01 Ryo Yoshitake <ryo@shiftmode.net> (tiny change) 52007-08-01 Ryo Yoshitake <ryo@shiftmode.net> (tiny change)
2 6
3 * mac.c (init_mac_osx_environment): Adjust load-path on self-contained 7 * mac.c (init_mac_osx_environment): Adjust load-path on self-contained
diff --git a/src/fileio.c b/src/fileio.c
index f70109dc2ad..328b90a0a94 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -5692,11 +5692,9 @@ file modification time, this function returns 0.
5692See Info node `(elisp)Modification Time' for more details. */) 5692See Info node `(elisp)Modification Time' for more details. */)
5693 () 5693 ()
5694{ 5694{
5695 Lisp_Object tcons; 5695 if (! current_buffer->modtime)
5696 tcons = long_to_cons ((unsigned long) current_buffer->modtime); 5696 return make_number (0);
5697 if (CONSP (tcons)) 5697 return make_time ((time_t) current_buffer->modtime);
5698 return list2 (XCAR (tcons), XCDR (tcons));
5699 return tcons;
5700} 5698}
5701 5699
5702DEFUN ("set-visited-file-modtime", Fset_visited_file_modtime, 5700DEFUN ("set-visited-file-modtime", Fset_visited_file_modtime,
diff --git a/src/xselect.c b/src/xselect.c
index 729c05f190a..33468f0d63a 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -1854,9 +1854,9 @@ selection_data_to_lisp_data (display, data, size, type, format)
1854 } 1854 }
1855 } 1855 }
1856 1856
1857 /* Convert a single 16 or small 32 bit number to a Lisp_Int. 1857 /* Convert a single 16-bit number or a small 32-bit number to a Lisp_Int.
1858 If the number is > 16 bits, convert it to a cons of integers, 1858 If the number is 32 bits and won't fit in a Lisp_Int,
1859 16 bits in each half. 1859 convert it to a cons of integers, 16 bits in each half.
1860 */ 1860 */
1861 else if (format == 32 && size == sizeof (int)) 1861 else if (format == 32 && size == sizeof (int))
1862 return long_to_cons (((unsigned int *) data) [0]); 1862 return long_to_cons (((unsigned int *) data) [0]);