1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Merge from emacs--devo--0

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-306
This commit is contained in:
Miles Bader 2007-12-29 02:39:17 +00:00
commit a0c92ed92d
132 changed files with 3749 additions and 2120 deletions

View file

@ -201,20 +201,6 @@
(defvar x-pointer-crosshair)
(eval-and-compile
(condition-case ()
(require 'custom)
(error nil))
(if (and (featurep 'custom) (fboundp 'custom-declare-variable))
nil ;; We've got what we needed
;; We have the old custom-library, hack around it!
(defmacro defgroup (&rest args)
nil)
(defmacro defface (var values doc &rest args)
`(make-face ,var))
(defmacro defcustom (var value doc &rest args)
`(defvar ,var ,value ,doc))))
;; User options
;; vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

View file

@ -405,7 +405,7 @@ Don't move back past the buffer position LIMIT.
This function is called when we are going to break the current line
after or before a non-ASCII character. If the charset of the
character has the property `fill-find-break-point-function', this
function calls the property value as a function with one arg LINEBEG.
function calls the property value as a function with one arg LIMIT.
If the charset has no such property, do nothing."
(let ((func (or
(aref fill-find-break-point-function-table (following-char))

View file

@ -203,19 +203,6 @@
(defvar mail-yank-prefix)
;;; Custom.el macros require recompiling this when they are not present.
;;; Add in backward compatible custom support.
(eval-when-compile
(if (not (fboundp 'defcustom))
(defmacro defcustom (symbol value doc &rest args)
"Empty replacement for defcustom when not supplied."
`(defvar ,symbol ,value ,doc))))
(eval-when-compile
(if (not (fboundp 'defgroup))
(defmacro defgroup (&rest args)
"Empty replacement for defgroup when not supplied.")))
(defgroup ispell nil
"User variables for Emacs ispell interface."
:group 'applications)

View file

@ -4495,8 +4495,8 @@ Works on both Emacs and XEmacs."
(if org-ignore-region
nil
(if (featurep 'xemacs)
(and zmacs-regions (region-active-p))
(and transient-mark-mode mark-active))))
(region-active-p)
(use-region-p))))
;; Invisibility compatibility

View file

@ -1805,11 +1805,11 @@ When DIE is non-nil, throw an error if file not found."
(buffer-substring-no-properties (match-beginning n) (match-end n))))
(defun reftex-region-active-p ()
"Is transient-mark-mode on and the region active?
Works on both Emacs and XEmacs."
(if (featurep 'xemacs)
(and zmacs-regions (region-active-p))
(and transient-mark-mode mark-active)))
"Should we operate on an active region?"
(if (fboundp 'use-region-p)
(use-region-p)
;; For XEmacs.
(region-active-p)))
(defun reftex-kill-buffer (buffer)
;; Kill buffer if it exists.

View file

@ -30,13 +30,6 @@
;;; Emacs lisp functions to convert Texinfo files to Info files.
(or (fboundp 'defgroup)
(defmacro defgroup (&rest ignore) nil))
(or (fboundp 'defcustom)
(defmacro defcustom (var value doc &rest ignore)
`(defvar ,var ,value ,doc)))
(defvar texinfmt-version "2.42 of 7 Jul 2006")
(defun texinfmt-version (&optional here)

View file

@ -34,13 +34,6 @@
;;; Code:
(or (fboundp 'defgroup)
(defmacro defgroup (&rest ignore) nil))
(or (fboundp 'defcustom)
(defmacro defcustom (var value doc &rest ignore)
`(defvar ,var ,value ,doc)))
(eval-when-compile (require 'tex-mode) (require 'cl))
(defvar outline-heading-alist)