aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjave2014-12-31 18:25:30 +0100
committerjave2014-12-31 18:25:30 +0100
commitc26306b0237235dd414f49d4693192827c07acdb (patch)
tree255152c0b2914a2bdc02c91f4f7dfbe8e9898684
parent1eb82c5dbecf3f95a41d9aed78dbcfa4c289b5ce (diff)
downloademacs-c26306b0237235dd414f49d4693192827c07acdb.tar.gz
emacs-c26306b0237235dd414f49d4693192827c07acdb.zip
reverting some spurious changes
-rw-r--r--lisp/progmodes/cc-mode.el12
-rw-r--r--lisp/vc/vc-dir.el2
-rwxr-xr-xmake-dist4
-rw-r--r--nt/INSTALL.OLD2
-rw-r--r--src/.gdbinit24
5 files changed, 6 insertions, 38 deletions
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index a90dddd3399..a4824479b3c 100644
--- a/lisp/progmodes/cc-mode.el
+++ b/lisp/progmodes/cc-mode.el
@@ -1201,9 +1201,6 @@ Note that the style variables are always made local to the buffer."
1201 ;; `c-set-fl-decl-start' for the detailed functionality. 1201 ;; `c-set-fl-decl-start' for the detailed functionality.
1202 (cons (c-set-fl-decl-start beg) end)) 1202 (cons (c-set-fl-decl-start beg) end))
1203 1203
1204(defvar c-standard-font-lock-fontify-region-function nil
1205 "Standard value of `font-lock-fontify-region-function'")
1206
1207(defun c-font-lock-fontify-region (beg end &optional verbose) 1204(defun c-font-lock-fontify-region (beg end &optional verbose)
1208 ;; Effectively advice around `font-lock-fontify-region' which extends the 1205 ;; Effectively advice around `font-lock-fontify-region' which extends the
1209 ;; region (BEG END), for example, to avoid context fontification chopping 1206 ;; region (BEG END), for example, to avoid context fontification chopping
@@ -1229,17 +1226,14 @@ Note that the style variables are always made local to the buffer."
1229 (setq new-region (funcall fn new-beg new-end)) 1226 (setq new-region (funcall fn new-beg new-end))
1230 (setq new-beg (car new-region) new-end (cdr new-region))) 1227 (setq new-beg (car new-region) new-end (cdr new-region)))
1231 c-before-context-fontification-functions)))) 1228 c-before-context-fontification-functions))))
1232 (funcall c-standard-font-lock-fontify-region-function 1229 (funcall (default-value 'font-lock-fontify-region-function)
1233 new-beg new-end verbose))) 1230 new-beg new-end verbose)))
1234 1231
1235(defun c-after-font-lock-init () 1232(defun c-after-font-lock-init ()
1236 ;; Put on `font-lock-mode-hook'. This function ensures our after-change 1233 ;; Put on `font-lock-mode-hook'. This function ensures our after-change
1237 ;; function will get executed before the font-lock one. Amongst other 1234 ;; function will get executed before the font-lock one.
1238 ;; things.
1239 (remove-hook 'after-change-functions 'c-after-change t) 1235 (remove-hook 'after-change-functions 'c-after-change t)
1240 (add-hook 'after-change-functions 'c-after-change nil t) 1236 (add-hook 'after-change-functions 'c-after-change nil t))
1241 (setq c-standard-font-lock-fontify-region-function
1242 (default-value 'font-lock-fontify-region-function)))
1243 1237
1244(defun c-font-lock-init () 1238(defun c-font-lock-init ()
1245 "Set up the font-lock variables for using the font-lock support in CC Mode. 1239 "Set up the font-lock variables for using the font-lock support in CC Mode.
diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el
index 08eb778f804..c90bf1c2343 100644
--- a/lisp/vc/vc-dir.el
+++ b/lisp/vc/vc-dir.el
@@ -954,8 +954,6 @@ If it is a file, return the corresponding cons for the file itself."
954 954
955(defvar use-vc-backend) ;; dynamically bound 955(defvar use-vc-backend) ;; dynamically bound
956 956
957;; Autoload cookie needed by desktop.el.
958;;;###autoload
959(define-derived-mode vc-dir-mode special-mode "VC dir" 957(define-derived-mode vc-dir-mode special-mode "VC dir"
960 "Major mode for VC directory buffers. 958 "Major mode for VC directory buffers.
961Marking/Unmarking key bindings and actions: 959Marking/Unmarking key bindings and actions:
diff --git a/make-dist b/make-dist
index 344de9c1ef9..f287606c010 100755
--- a/make-dist
+++ b/make-dist
@@ -41,8 +41,8 @@ LC_MESSAGES=
41LANG= 41LANG=
42export LANGUAGE LC_ALL LC_MESSAGES LANG 42export LANGUAGE LC_ALL LC_MESSAGES LANG
43 43
44## Don't restrict access to any files. 44## Remove unnecessary restrictions on file access.
45umask 0 45umask 022
46 46
47update=yes 47update=yes
48check=yes 48check=yes
diff --git a/nt/INSTALL.OLD b/nt/INSTALL.OLD
index 3e4ab27bd7c..a7ce57cc369 100644
--- a/nt/INSTALL.OLD
+++ b/nt/INSTALL.OLD
@@ -1,7 +1,7 @@
1 Building and Installing Emacs on Windows 1 Building and Installing Emacs on Windows
2 (from 95 to 7 and beyond) 2 (from 95 to 7 and beyond)
3 3
4 Copyright (C) 2001-2013 Free Software Foundation, Inc. 4 Copyright (C) 2001-2014 Free Software Foundation, Inc.
5 See the end of the file for license conditions. 5 See the end of the file for license conditions.
6 6
7*** This method of building Emacs is no longer supported. *** 7*** This method of building Emacs is no longer supported. ***
diff --git a/src/.gdbinit b/src/.gdbinit
index d259aa466e3..d76c3aa8e05 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -982,27 +982,6 @@ document xscrollbar
982Print $ as a scrollbar pointer. 982Print $ as a scrollbar pointer.
983end 983end
984 984
985define xxwidget
986 if $argc == 1
987 xgetptr $arg0
988 else
989 xgetptr $
990 end
991 set $xw = (struct xwidget *) $ptr
992 print $xw
993 printf " Type: "
994 xprintsym $xw->type
995 echo \n
996 printf " Title: "
997 xgetptr $xw->title
998 set $title = (struct Lisp_String *) $ptr
999 xprintstr $title
1000 echo \n
1001end
1002document xxwidget
1003Print $ assuming it is a xwidget.
1004end
1005
1006define xpr 985define xpr
1007 xtype 986 xtype
1008 if $type == Lisp_Int0 || $type == Lisp_Int1 987 if $type == Lisp_Int0 || $type == Lisp_Int1
@@ -1072,9 +1051,6 @@ define xpr
1072 if $vec == PVEC_HASH_TABLE 1051 if $vec == PVEC_HASH_TABLE
1073 xhashtable 1052 xhashtable
1074 end 1053 end
1075 if $vec == PVEC_XWIDGET
1076 xxwidget
1077 end
1078 else 1054 else
1079 xvector 1055 xvector
1080 end 1056 end