summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorhauke <hauke@pkgsrc.org>2016-04-23 09:24:07 +0000
committerhauke <hauke@pkgsrc.org>2016-04-23 09:24:07 +0000
commitd00e7bf811e2f98533a0e961bffd47756bf23a52 (patch)
tree41db3bf813c23cf89182df369cd14087f9f8e19a /editors
parent05ab45d3e3fff07e04a7b8343bb69df27705de1f (diff)
downloadpkgsrc-d00e7bf811e2f98533a0e961bffd47756bf23a52.tar.gz
Correct a couple of typos.
Diffstat (limited to 'editors')
-rw-r--r--editors/xemacs-packages/patches/patch-lisp_vc_vc-git.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/xemacs-packages/patches/patch-lisp_vc_vc-git.el b/editors/xemacs-packages/patches/patch-lisp_vc_vc-git.el
index c1c0160665c..eb710ded0c5 100644
--- a/editors/xemacs-packages/patches/patch-lisp_vc_vc-git.el
+++ b/editors/xemacs-packages/patches/patch-lisp_vc_vc-git.el
@@ -1,4 +1,4 @@
-$NetBSD: patch-lisp_vc_vc-git.el,v 1.1 2015/09/30 10:11:45 hauke Exp $
+$NetBSD: patch-lisp_vc_vc-git.el,v 1.2 2016/04/23 09:24:07 hauke Exp $
Instead of blindly assuming a utf-8 capable XEmacs, look at the
current buffer for the encoding to use.
@@ -12,7 +12,7 @@ current buffer for the encoding to use.
-(defvar git-commits-coding-system 'utf-8
+(defun vc-git-determine-coding-system ()
+
-+ "Return utf-8 om 21.5, or the current buffer's coding on 21,4"
++ "Return utf-8 on 21.5, or the current buffer's encoding on 21.4"
+
+ (if (and (featurep 'xemacs)
+ (<= emacs-major-version 21)