mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Merge from origin/emacs-25
1f6898dtest/automated/vc-hg.el: Support out-of-tree build3adb56eMinor change in tramp-tests.el2b535ba; * etc/NEWS: Update the js.el entry.76b518c* etc/HELLO: Add Armenian and Mongolian greetings.b51f1efJava Mode: Fontify identifiers in the presence of annotations.36b9539Avoid an infloop when we run out of memory2006752Avoid unnecessary failures of auto-saving after fatal erroreef6784Simplify HAVE_MODULES use in mark_maybe_pointer552694aRevert attempt to use 'noexcept' in typedef6ad0d39Update documentation of 'indirect-function'c6a5314; * etc/NEWS: Move entry of 'inhibit-point-motion-hooks'.303141aUpdate documentation for obsoleting 'syntax-begin-function'4e6f61c; * etc/NEWS: Mark documented and not-to-be-documented entries.e667bbbDocument new features if Eshell9c4e4e0; * etc/NEWS: Update EUDC entries.1089dc9Handle too long commands in Tramp684eb58* .gitattributes: *.cur and *.pif are binary files too.d2c7fda* src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefinedbd3f53d* sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)09b2b8a* src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_valuecca0f93; Account for spaces before the filenamec71e1e8Use short date for 'hg annotate', and output the authorf50027bSpelling fixc7dff67; * etc/NEWS: Fix the Xref entries that got separated.cc140bcDocument user-level functions in project.elf8208b6Document the user-level features of the Xref packageb131fb8* loading.texi: Add `define-type' entry for load-historydb3c2a8Improve doc strings and prompts in xref.elf6117efAllow the use of `font-lock-extend-region-multiline' in CC Mode.90fd798Fix coding system for Tramp on OS X.e985a0e; * etc/NEWS: Mark the 'check-expensive' entry not to be documented.9dfcbf0Update 'load-history' docs207e191Fix (error ...) error457738fCorrectly analyze brace arguments in templated C++ function declarations.d57724a* lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.2a9532d* lisp/ffap.el (ffap-latex-mode): Avoid free variable.1a6b084* lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.8be046fRespect fontification region calculated by major mode. Fixes bug #22316.4b37cbaImprove documentation of Delete Selection modea034dd3Fix two project-find-file issues30abf29Clarify doc string of 'dired-current-directory'e990bb2Use the face of preceding text for displaying the ellipsis5810ac3Suppress Chinese file name test for OSX in tramp-tests.eleeb710a; * lisp/startup.el: Sentences end with two spaces.428b3de* admin/admin.el (set-version): Also handle the NEWS file.648de81; Add NEWS entry for project.el671862fapropos-library: Skip obvious duplicates; don't error on generics51668a5; Grammar fixed41d11Add project-find-file and project-or-external-find-file056da45; Improve commentary in 'setup_for_ellipsis'269d008; Improve docstring for `inhibit-startup-echo-area-message'
This commit is contained in:
commit
c7bef6a4f0
50 changed files with 1178 additions and 575 deletions
|
|
@ -2810,7 +2810,9 @@ It runs the hook `dired-initial-position-hook'."
|
|||
(defun dired-current-directory (&optional localp)
|
||||
"Return the name of the subdirectory to which this line belongs.
|
||||
This returns a string with trailing slash, like `default-directory'.
|
||||
Optional argument means return a file name relative to `default-directory'."
|
||||
Optional argument means return a file name relative to `default-directory',
|
||||
in which case the value could be an empty string if `default-directory'
|
||||
is the directory where the file on this line resides."
|
||||
(let ((here (point))
|
||||
(alist (or dired-subdir-alist
|
||||
;; probably because called in a non-dired buffer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue