Mahmoud Al-Qudsi b7b20e9fac Always source file after funced (#10318)
... even if the file hasn't changed. This addresses an oddity in the following
case:

* Shell is started,
* function `foo` is sourced from foo.fish
* foo.fish is *externally* edited and saved
* <Loaded definition of `foo` is now stale, but fish is unaware>
* `funced foo` loads `type -p foo` showing changed definition, user exits
  $EDITOR saving no changes (or with $status 0, more generally).
* Stale definition of `foo` remains

(cherry picked from commit 2c2ab0c1fac1c982a682594d920e8fef735106fd)
2024-03-13 18:16:34 +01:00
..
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2020-11-22 14:39:48 +01:00
2020-04-21 21:11:26 +02:00
2022-06-08 21:23:43 +02:00
2022-08-02 00:42:37 -07:00
2022-01-27 16:21:22 -08:00
2022-06-16 18:43:28 +02:00
2022-01-27 16:21:22 -08:00
2023-12-30 23:15:40 +08:00
2022-01-27 16:21:22 -08:00
2022-03-24 20:11:39 +01:00
2024-03-13 18:15:24 +01:00
2021-12-02 02:22:40 -08:00
2023-11-07 19:59:32 +01:00
2023-12-26 09:00:26 +08:00
2022-01-27 16:21:22 -08:00
2022-04-23 16:35:52 -07:00