]> git.eshelyaron.com Git - emacs.git/commitdiff
Merge from emacs-26
authorNoam Postavsky <npostavs@gmail.com>
Wed, 26 Jun 2019 02:04:13 +0000 (22:04 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Wed, 26 Jun 2019 02:04:13 +0000 (22:04 -0400)
e62ad04963 Fix sgml-mode handling of quotes within parens (Bug#36347)
06b35b2f92 ; * lisp/frame.el: Enhance add-variable-watcher commentary.
572e34bb6f Rename 'make-symbolic-link' argument NEWNAME to LINKNAME
04477adedc Check that length of data returned by sysctl is non-zero
81535eeadb * test/lisp/progmodes/python-tests.el (python-virt-bin): D...
9d48979ca8 Fix Python tests depending on system-type
fcf6cc3177 Fix problem with wdired test when symlinks cannot be created.
4701e0663e Improve wording of documentation of click events

# Conflicts:
# lisp/textmodes/sgml-mode.el
# test/lisp/textmodes/sgml-mode-tests.el

1  2 
doc/lispref/commands.texi
doc/lispref/files.texi
lisp/frame.el
lisp/textmodes/sgml-mode.el
src/fileio.c
src/filelock.c
src/sysdep.c
test/lisp/progmodes/python-tests.el
test/lisp/textmodes/sgml-mode-tests.el
test/lisp/wdired-tests.el

Simple merge
Simple merge
diff --cc lisp/frame.el
Simple merge
index 8d3000e5d8b6a588c209f150352e77a297584805,c9724e0e3f7f5bb0301bb4ce89d63e0d69582168..aa00024a6d9fa9d1ba35bb0843a22282f95a9c38
@@@ -610,10 -567,9 +610,11 @@@ Do \\[describe-key] on the following bi
    (setq font-lock-defaults '((sgml-font-lock-keywords
                              sgml-font-lock-keywords-1
                              sgml-font-lock-keywords-2)
 -                           nil t))
 +                             nil t nil
 +                             (font-lock-syntactic-face-function
 +                              . sgml-font-lock-syntactic-face)))
    (setq-local syntax-propertize-function #'sgml-syntax-propertize)
+   (setq-local syntax-ppss-table sgml-tag-syntax-table)
    (setq-local facemenu-add-face-function 'sgml-mode-facemenu-add-face-function)
    (setq-local sgml-xml-mode (sgml-xml-guess))
    (unless sgml-xml-mode
diff --cc src/fileio.c
Simple merge
diff --cc src/filelock.c
Simple merge
diff --cc src/sysdep.c
index f7fc99f147f4b8134daedbc00018a55dde7b76f6,b2aecc0ddac5fbd31cc830450a31dd3559ee817e..4f89e8aba10694c9fc93df402df73d2e8266e577
@@@ -3616,10 -3618,10 +3616,10 @@@ system_process_attributes (Lisp_Object 
    CONS_TO_INTEGER (pid, int, proc_id);
    mib[3] = proc_id;
  
-   if (sysctl (mib, 4, &proc, &proclen, NULL, 0) != 0)
+   if (sysctl (mib, 4, &proc, &proclen, NULL, 0) != 0 || proclen == 0)
      return attrs;
  
 -  attrs = Fcons (Fcons (Qeuid, make_fixnum_or_float (proc.ki_uid)), attrs);
 +  attrs = Fcons (Fcons (Qeuid, INT_TO_INTEGER (proc.ki_uid)), attrs);
  
    block_input ();
    pw = getpwuid (proc.ki_uid);
Simple merge
index 34d26480a45e341db1b84cf702a6a335313de7b3,0000b352ff0019abe05f82ed15c38821445dcd13..5630036e55c94bbd31c52e2cdd088e96d306bfea
@@@ -168,9 -138,11 +168,11 @@@ The point is set to the beginning of th
                   "<t>\"a'\"</t>"
                   "<t>'a\"'</t>"
                   "a\"b <tag>c'd</tag>"
 -                 ;;"<tag>c>'d</tag>" Fixed in master.
 +                 "<tag>c>'d</tag>"
                   "<t><!-- \" --></t>"
                   "<t><!-- ' --></t>"
+                  "<t>(')</t>"
+                  "<t>(\")</t>"
                   ))
     (with-temp-buffer
       (sgml-mode)
Simple merge