mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
* lisp/gnus/gmm-utils.el (gmm-write-region): Drop Emacs 20 compat cruft.
This commit is contained in:
parent
59e31cfa13
commit
4ec3f7cf35
2 changed files with 6 additions and 6 deletions
|
|
@ -1,5 +1,7 @@
|
|||
2010-10-03 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* gmm-utils.el (gmm-write-region): Drop Emacs 20 compat cruft.
|
||||
|
||||
* gnus-util.el (gnus-make-local-hook): Simplify.
|
||||
|
||||
2010-10-02 Julien Danjou <julien@danjou.info>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
;;; gmm-utils.el --- Utility functions for Gnus, Message and MML
|
||||
|
||||
;; Copyright (C) 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2006, 2007, 2008, 2009, 2010
|
||||
;; Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Reiner Steib <reiner.steib@gmx.de>
|
||||
;; Keywords: news
|
||||
|
|
@ -411,12 +412,9 @@ If mode is nil, use `major-mode' of the current buffer."
|
|||
|
||||
In XEmacs, the seventh argument of `write-region' specifies the
|
||||
coding-system."
|
||||
(if (and mustbenew
|
||||
(or (featurep 'xemacs)
|
||||
(= emacs-major-version 20)))
|
||||
(if (and mustbenew (featurep 'xemacs))
|
||||
(if (file-exists-p filename)
|
||||
(signal 'file-already-exists
|
||||
(list "File exists" filename))
|
||||
(signal 'file-already-exists (list "File exists" filename))
|
||||
(write-region start end filename append visit lockname))
|
||||
(write-region start end filename append visit lockname mustbenew)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue